projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* enable the watcher do differenciate between crash & regular exit, so he can send...
[citadel.git]
/
citadel
/
sysdep.c
diff --git
a/citadel/sysdep.c
b/citadel/sysdep.c
index 46bdf021a405abb4d2568a674a868714cd9e8f36..4cd22d0d5ca637463b7892c23aae916fc7147156 100644
(file)
--- a/
citadel/sysdep.c
+++ b/
citadel/sysdep.c
@@
-964,7
+964,7
@@
void start_daemon(int unused) {
if (WIFEXITED(status)) {
/* Exit code 0 means the watcher should exit */
- if (WEXITSTATUS(status) ==
0
) {
+ if (WEXITSTATUS(status) ==
CTDLEXIT_SHUTDOWN
) {
do_restart = 0;
}