aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWynn Wolf Arbor2020-06-04 17:29:44 +0200
committerWynn Wolf Arbor2020-06-04 17:29:44 +0200
commite77b6d5dea1e8e9fedcbb98c7329eb9dfcc6697e (patch)
tree715a75e88a68ae115d7b035c47ab15eb22ceaea7
parent34eaa010bca7f12b1265d39995f4650b3e8e6be0 (diff)
downloadlifeboat-e77b6d5dea1e8e9fedcbb98c7329eb9dfcc6697e.tar.gz
Exit unsuccessfully in usage()
The command must not have completed successfully if usage() was called, so indicate this to the user as well.
-rwxr-xr-xlifeboat2
1 files changed, 1 insertions, 1 deletions
diff --git a/lifeboat b/lifeboat
index f368433..d0a979c 100755
--- a/lifeboat
+++ b/lifeboat
@@ -15,7 +15,7 @@ errx() {
usage() {
printf "usage: lifeboat repo [run|restic-cmd]\n"
- exit 0
+ exit 1
}
run_backup() {