Przeglądaj źródła

catch all failures

till 13 lat temu
rodzic
commit
96298a33dc
1 zmienionych plików z 1 dodań i 1 usunięć
  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) {