diff options
author | Andrew Dolgov <[email protected]> | 2013-02-25 21:39:13 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-02-25 21:39:51 +0400 |
commit | f421fcd7e51d47628fe049f8fbe48f7c09ce0a26 (patch) | |
tree | 6d101198d87c838d9e69e0c0d2abb0a2d4df04c4 | |
parent | 2cd099f0fb10ec8a9be9ae9056480aa526e844ae (diff) |
daemon: die if unable to create a stampfile
-rwxr-xr-x | update_daemon2.php | 2 |
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 |