JANITOR-4

This commit is contained in:
Anthony Minessale
2010-04-21 10:11:13 -05:00
parent 964d59c56e
commit 95665f0096
7 changed files with 21 additions and 14 deletions

View File

@@ -791,6 +791,7 @@ int main(int argc, char *argv[])
destroy_status = switch_core_destroy();
switch_file_close(fd);
apr_pool_destroy(pool);
if (unlink(pid_path) != 0) {
fprintf(stderr, "Failed to delete pid file [%s]\n", pid_path);