diff options
author | Wynn Wolf Arbor | 2020-06-04 17:29:44 +0200 |
---|---|---|
committer | Wynn Wolf Arbor | 2020-06-04 17:29:44 +0200 |
commit | e77b6d5dea1e8e9fedcbb98c7329eb9dfcc6697e (patch) | |
tree | 715a75e88a68ae115d7b035c47ab15eb22ceaea7 | |
parent | 34eaa010bca7f12b1265d39995f4650b3e8e6be0 (diff) | |
download | lifeboat-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-x | lifeboat | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -15,7 +15,7 @@ errx() { usage() { printf "usage: lifeboat repo [run|restic-cmd]\n" - exit 0 + exit 1 } run_backup() { |