summaryrefslogtreecommitdiff
path: root/update_daemon2.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-02-25 21:39:13 +0400
committerAndrew Dolgov <[email protected]>2013-02-25 21:39:51 +0400
commitf421fcd7e51d47628fe049f8fbe48f7c09ce0a26 (patch)
tree6d101198d87c838d9e69e0c0d2abb0a2d4df04c4 /update_daemon2.php
parent2cd099f0fb10ec8a9be9ae9056480aa526e844ae (diff)
daemon: die if unable to create a stampfile
Diffstat (limited to 'update_daemon2.php')
-rwxr-xr-xupdate_daemon2.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/update_daemon2.php b/update_daemon2.php
index 4a6001b3f..b2b2cc982 100755
--- a/update_daemon2.php
+++ b/update_daemon2.php
@@ -197,7 +197,7 @@
// We disable stamp file, since it is of no use in a multiprocess update.
// not really, tho for the time being -fox
if (!make_stampfile('update_daemon.stamp')) {
- print "warning: unable to create stampfile";
+ die("error: unable to create stampfile\n");
}
// Call to the feed batch update function