From e77b6d5dea1e8e9fedcbb98c7329eb9dfcc6697e Mon Sep 17 00:00:00 2001 From: Wynn Wolf Arbor Date: Thu, 4 Jun 2020 17:29:44 +0200 Subject: Exit unsuccessfully in usage() The command must not have completed successfully if usage() was called, so indicate this to the user as well. --- lifeboat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() { -- cgit v1.2.3-2-gb3c3