Forráskód Böngészése

Change return code to 1

Ahammar Yassine 6 éve
szülő
commit
b4fae00db2
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      src/Composer/Console/Application.php

+ 1 - 1
src/Composer/Console/Application.php

@@ -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)) {
-                                return 0;
+                                return 1;
                             }
                         }
                     }