return 'already started' if already started
This commit is contained in:
parent
83a1332f91
commit
61882cca82
|
@ -36,8 +36,12 @@ start_sync () {
|
|||
}
|
||||
|
||||
stop_sync () {
|
||||
if check_session 0; then
|
||||
echo inactive
|
||||
else
|
||||
tmux send-keys -t $session C-c exit C-m
|
||||
echo stopped
|
||||
fi
|
||||
}
|
||||
|
||||
status () {
|
||||
|
|
Loading…
Reference in New Issue