Explorar o código

catch all failures

till %!s(int64=13) %!d(string=hai) anos
pai
achega
96298a33dc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Composer/Repository/Vcs/SvnDriver.php

+ 1 - 1
src/Composer/Repository/Vcs/SvnDriver.php

@@ -81,7 +81,7 @@ class SvnDriver extends VcsDriver implements VcsDriverInterface
         );
 
         // this could be any failure
-        if ($status == 1 && $this->io->isInteractive()) {
+        if ($status > 0 && $this->io->isInteractive()) {
 
             // the error is not auth-related
             if (strpos($output, 'authorization failed:') === false) {