summaryrefslogtreecommitdiff
path: root/snapshot
diff options
context:
space:
mode:
authortdback <tyler@tdback.net>2025-03-06 21:06:20 -0500
committertdback <tyler@tdback.net>2025-03-06 21:06:20 -0500
commitdeac92eceeb497963f28f96c98add8c7c2787c73 (patch)
treec6795708de603e5e9fe57880d249ae05f227ab99 /snapshot
parente6e371950b4075f152a50ec664a592cdecd95c7b (diff)
cleanup scriptsHEADmain
Diffstat (limited to 'snapshot')
-rwxr-xr-xsnapshot4
1 files changed, 3 insertions, 1 deletions
diff --git a/snapshot b/snapshot
index 380051a..c105225 100755
--- a/snapshot
+++ b/snapshot
@@ -32,6 +32,8 @@ full() {
while getopts ":f" arg; do
case "$arg" in
f) full ;;
- *) printf "Invalid option: -%s\n" "$OPTARG" >&2 && exit 1 ;;
+ *) printf "Invalid option: -%s\n" "$OPTARG" >&2
+ exit 1
+ ;;
esac
done