fixed bug which always reported error.
authorElijah Saxon <elijah@riseup.net>
Mon, 21 Mar 2005 17:50:49 +0000 (17:50 +0000)
committerElijah Saxon <elijah@riseup.net>
Mon, 21 Mar 2005 17:50:49 +0000 (17:50 +0000)
handlers/svn

index d4c88172def4e3ff83c6072ab4a97803099ef04c..d0e3648075dda23455177e42d3a54fe5e3368550 100644 (file)
@@ -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