From: elijah Date: Mon, 21 Mar 2005 17:50:49 +0000 (+0000) Subject: fixed bug which always reported error. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=3b2a360b29ebc92101163724c099ff8e874023be;hp=19296485409d49061fbc5dbcecb722aaa4980466;p=matthijs%2Fupstream%2Fbackupninja-vserver.git fixed bug which always reported error. git-svn-id: http://code.autistici.org/svn/backupninja/trunk@99 758a04ac-41e6-0310-8a23-8373a73cc35d --- diff --git a/handlers/svn b/handlers/svn index d4c8817..d0e3648 100644 --- a/handlers/svn +++ b/handlers/svn @@ -34,7 +34,7 @@ do fi done -if [ $error ]; then +if [ $error -eq 1 ]; then echo "Error: because of earlier errors, we are leaving svn backups in $tmp instead of $dest" else if [ -d $dest -a -d $tmp ]; then