JeroenED: architect of weird failing structures

This commit is contained in:
Jeroen De Meerleer 2018-09-21 15:59:55 +02:00
parent e3230de8c2
commit ace0766da7
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@
require_once "include/initialize.inc.php";
if(file_exists('/tmp/webcron.lock') && file_get_contents('/tmp/webcron.lock') + 0 < time() - get_configvalue('master.crashtimeout'))
if(file_exists('/tmp/webcron.lock') && file_get_contents('/tmp/webcron.lock') + get_configvalue('master.crashtimeout') > time() )
{
die('Script is already running');
}