projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26fab30
)
Don't delete PID file on exit of asterisk -r
author
Mark Spencer
<markster@digium.com>
Wed, 9 Jul 2003 13:45:59 +0000
(13:45 +0000)
committer
Mark Spencer
<markster@digium.com>
Wed, 9 Jul 2003 13:45:59 +0000
(13:45 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1172
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
asterisk.c
patch
|
blob
|
history
diff --git
a/asterisk.c
b/asterisk.c
index
820c52f
..
05b8430
100755
(executable)
--- a/
asterisk.c
+++ b/
asterisk.c
@@
-425,7
+425,7
@@
static void quit_handler(int num, int nice, int safeshutdown, int restart)
close(ast_consock);
if (ast_socket > -1)
unlink((char *)ast_config_AST_SOCKET);
- unlink((char *)ast_config_AST_PID);
+ if (!option_remote) unlink((char *)ast_config_AST_PID);
printf(term_quit());
if (restart) {
if (option_verbose || option_console)