mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-08-28 10:08:56 +02:00
Deploy Summary info. Deploy lock: only run one instance at a time.
This commit is contained in:
@@ -12,6 +12,15 @@ class Mage_Console
|
||||
*/
|
||||
public function run($arguments)
|
||||
{
|
||||
register_shutdown_function(function() {
|
||||
// Only Unlock if there was an error
|
||||
if (error_get_last() !== null) {
|
||||
if (file_exists('.mage/~working.lock')) {
|
||||
unlink('.mage/~working.lock');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
$configError = false;
|
||||
try {
|
||||
// Load Config
|
||||
|
||||
Reference in New Issue
Block a user