Oops, put the msg in the wrong spot
This commit is contained in:
parent
7888735e2d
commit
5a72630a39
|
@ -61,6 +61,7 @@ status () {
|
||||||
else
|
else
|
||||||
tmux capture-pane -t icloudsync -p -S -1 | tail -1
|
tmux capture-pane -t icloudsync -p -S -1 | tail -1
|
||||||
fi
|
fi
|
||||||
|
exit
|
||||||
}
|
}
|
||||||
|
|
||||||
msg="available commands are: start, stop, attach, status"
|
msg="available commands are: start, stop, attach, status"
|
||||||
|
@ -82,8 +83,10 @@ while [[ $# -gt 0 ]]; do
|
||||||
status)
|
status)
|
||||||
status
|
status
|
||||||
;;
|
;;
|
||||||
|
*)
|
||||||
|
echo $msg
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
echo $msg
|
|
||||||
exit
|
exit
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue