Ver Fonte

daemon: die if unable to create a stampfile

Andrew Dolgov há 11 anos atrás
pai
commit
f421fcd7e5
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      update_daemon2.php

+ 1 - 1
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