]> git.wh0rd.org - tt-rss.git/commitdiff
daemon: die if unable to create a stampfile
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 25 Feb 2013 17:39:13 +0000 (21:39 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 25 Feb 2013 17:39:51 +0000 (21:39 +0400)
update_daemon2.php

index 4a6001b3f3b0299252a53dbcfa6fad21ca1763b2..b2b2cc982cd8f14da6361efd590688d42567ac42 100755 (executable)
                                        // 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