Oops, put the msg in the wrong spot
This commit is contained in:
parent
7888735e2d
commit
5a72630a39
|
@ -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
|
||||
;;
|
||||
esac
|
||||
*)
|
||||
echo $msg
|
||||
;;
|
||||
esac
|
||||
exit
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in New Issue