diff --git a/src/Composer/Console/Application.php b/src/Composer/Console/Application.php index c148c73fa..3398cef69 100644 --- a/src/Composer/Console/Application.php +++ b/src/Composer/Console/Application.php @@ -210,7 +210,7 @@ class Application extends BaseApplication if ($io->isInteractive()) { if (!$io->askConfirmation('Continue as root/super user [yes]? ', true)) { - return 0; + return 1; } } }