From: Andrew Dolgov Date: Mon, 25 Feb 2013 17:39:13 +0000 (+0400) Subject: daemon: die if unable to create a stampfile X-Git-Tag: 1.7.1~39 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=f421fcd7e51d47628fe049f8fbe48f7c09ce0a26;p=tt-rss.git daemon: die if unable to create a stampfile --- diff --git a/update_daemon2.php b/update_daemon2.php index 4a6001b3..b2b2cc98 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