summaryrefslogtreecommitdiff
path: root/scripts/imdaemon.php
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2010-01-27 22:07:04 -0500
committerCraig Andrews <candrews@integralblue.com>2010-01-27 22:07:04 -0500
commit914bc9f9c5ce29584e00553104ac991e6e178e7b (patch)
treeb473316af79d2c58c5ecd84765fcaa9725269fed /scripts/imdaemon.php
parente9995b0f6ab0788162e22c996e5ee0af416dd519 (diff)
parent9589985e29455e41ef915ff15b679fe2a01644a0 (diff)
Merge branch '0.9.x' into 1.0.x
Conflicts: lib/queuemanager.php
Diffstat (limited to 'scripts/imdaemon.php')
-rwxr-xr-xscripts/imdaemon.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/imdaemon.php b/scripts/imdaemon.php
index c37a26b7c..ffb5ecf0d 100755
--- a/scripts/imdaemon.php
+++ b/scripts/imdaemon.php
@@ -54,7 +54,7 @@ class ImDaemon extends SpawningDaemon
common_log(LOG_INFO, 'terminating normally');
- return true;
+ return $master->respawn ? self::EXIT_RESTART : self::EXIT_SHUTDOWN;
}
}