1
0
Fork 0

Ask confirmation when is run as admin

Use return instead of exit for the Application to run cleanly
pull/7819/head
Ahammar Yassine 2018-12-04 17:47:45 +01:00 committed by GitHub
parent 5548051977
commit 0fd4ef6d8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ class Application extends BaseApplication
if ($io->isInteractive()) {
if (!$io->askConfirmation('<info>Continue as root/super user</info> [<comment>yes</comment>]? ', true)) {
exit(0);
return 0;
}
}
}