Maybe fixed lockfile

This commit is contained in:
Karl Cordes 2016-11-16 23:08:50 +11:00
parent e2997d951a
commit a2559638f9

View file

@ -349,13 +349,14 @@ class VaultShell extends Shell {
$this->move($email_filename, $vault_dir, $processed_dir);
if(!unlink($lockfile)) {
die("FATAL ERROR: Unable to remove vault.lock. No further Vault instances can run!");
}
} //end email loop
}
if(!unlink($lockfile)) {
die("FATAL ERROR: Unable to remove vault.lock. No further Vault instances can run!");
}
} //end main