Oops, put the msg in the wrong spot

This commit is contained in:
Siina Mashek 2024-10-14 11:05:37 +03:00
parent 7888735e2d
commit 5a72630a39

View file

@ -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