From f421fcd7e51d47628fe049f8fbe48f7c09ce0a26 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 25 Feb 2013 21:39:13 +0400 Subject: [PATCH] daemon: die if unable to create a stampfile --- update_daemon2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2