From 5a72630a394e33eebe3a3111a3e8b4be2beff97b Mon Sep 17 00:00:00 2001 From: Siina Mashek Date: Mon, 14 Oct 2024 11:05:37 +0300 Subject: [PATCH] Oops, put the msg in the wrong spot --- apsalar/icloudsync | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apsalar/icloudsync b/apsalar/icloudsync index 76804a5..8e46661 100755 --- a/apsalar/icloudsync +++ b/apsalar/icloudsync @@ -61,6 +61,7 @@ status () { else tmux capture-pane -t icloudsync -p -S -1 | tail -1 fi + exit } msg="available commands are: start, stop, attach, status" @@ -82,8 +83,10 @@ while [[ $# -gt 0 ]]; do status) status ;; + *) + echo $msg + ;; esac - echo $msg exit done