]> arthur.barton.de Git - backup-script.git/commitdiff
backup-status: Use exit code 2 when displaying usage information
authorAlexander Barton <alex@barton.de>
Tue, 18 Aug 2015 10:24:16 +0000 (12:24 +0200)
committerAlexander Barton <alex@barton.de>
Tue, 18 Aug 2015 10:24:16 +0000 (12:24 +0200)
bin/backup-status

index 13c651c7d75bd104c2d778b03ad8c7f267da4551..26cd0cff6c1551b6ad08910f424589b9a892b3cd 100755 (executable)
@@ -81,7 +81,7 @@ fi
 case "$1" in
     "-"*)
        echo "Usage: $NAME [-q] [<system> [<system> [...]]]"
-       exit 1
+       exit 2
        ;;
 esac