Maybe fixed lockfile
This commit is contained in:
parent
e2997d951a
commit
a2559638f9
9
app/vendors/shells/vault.php
vendored
9
app/vendors/shells/vault.php
vendored
|
|
@ -349,13 +349,14 @@ class VaultShell extends Shell {
|
||||||
$this->move($email_filename, $vault_dir, $processed_dir);
|
$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
|
} //end email loop
|
||||||
|
|
||||||
}
|
if(!unlink($lockfile)) {
|
||||||
|
die("FATAL ERROR: Unable to remove vault.lock. No further Vault instances can run!");
|
||||||
|
}
|
||||||
|
|
||||||
|
} //end main
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue