mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-09-05 08:58:56 +02:00
Proper exit code. Issue #52
This commit is contained in:
@@ -26,6 +26,7 @@ class InstallCommand extends AbstractCommand
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
$exitCode = 88;
|
||||
Console::output('Installing <dark_gray>Magallanes</dark_gray>... ', 1, 0);
|
||||
|
||||
// Vars
|
||||
@@ -74,7 +75,10 @@ class InstallCommand extends AbstractCommand
|
||||
}
|
||||
|
||||
Console::output('<light_green>Success!</light_green>', 0, 2);
|
||||
$exitCode = 0;
|
||||
}
|
||||
|
||||
return $exitCode;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user