till 13 лет назад
Родитель
Сommit
96298a33dc
1 измененных файлов с 1 добавлено и 1 удалено
  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) {