From 96298a33dc663b5bfa1a0df017a26f4d1c85a078 Mon Sep 17 00:00:00 2001 From: till Date: Mon, 12 Mar 2012 17:24:36 +0100 Subject: [PATCH] catch all failures --- src/Composer/Repository/Vcs/SvnDriver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Repository/Vcs/SvnDriver.php b/src/Composer/Repository/Vcs/SvnDriver.php index 643badcdb..83941374d 100644 --- a/src/Composer/Repository/Vcs/SvnDriver.php +++ b/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) {