Oops, put the msg in the wrong spot
This commit is contained in:
parent
7888735e2d
commit
5a72630a39
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue