daemon: die if unable to create a stampfile

This commit is contained in:
Andrew Dolgov 2013-02-25 21:39:13 +04:00
parent 2cd099f0fb
commit f421fcd7e5

View file

@ -197,7 +197,7 @@
// We disable stamp file, since it is of no use in a multiprocess update. // We disable stamp file, since it is of no use in a multiprocess update.
// not really, tho for the time being -fox // not really, tho for the time being -fox
if (!make_stampfile('update_daemon.stamp')) { 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 // Call to the feed batch update function