summaryrefslogtreecommitdiff
path: root/snapshot
diff options
context:
space:
mode:
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