]> arthur.barton.de Git - bup.git/blobdiff - cmd/import-rsnapshot-cmd.sh
import-rsnapshot: exit with 1, not -1
[bup.git] / cmd / import-rsnapshot-cmd.sh
index d04fbbbcf02ccb67d1aecf63f411f8e76bc8b854..6ab398419a32b66d53a5e09c6e10b0b778cbf519 100755 (executable)
@@ -5,7 +5,7 @@ usage() {
     echo "Usage: bup import-rsnapshot [-n]" \
         "<path to snapshot_root> [<backuptarget>]"
     echo "-n,--dry-run: just print what would be done"
-    exit -1
+    exit 1
 }
 
 DRY_RUN=