Permalink
Browse files

Merge pull request #2023 from Bourne-ID/master

Fix Ctrl C in tmux
  • Loading branch information...
dgibbs64 committed Oct 4, 2018
2 parents d6847aa + 2ac82b9 commit c5d091340b899f03793118d462f4fb810d74a5ec
Showing with 1 addition and 1 deletion.
  1. +1 −1 lgsm/functions/command_stop.sh
@@ -14,7 +14,7 @@ fn_stop_graceful_ctrlc(){
fn_print_dots "Graceful: CTRL+c"
fn_script_log_info "Graceful: CTRL+c"
# sends quit
tmux send-keys C-c -t "${servicename}" > /dev/null 2>&1
tmux send-keys -t "${servicename}" C-c > /dev/null 2>&1
# waits up to 30 seconds giving the server time to shutdown gracefuly
for seconds in {1..30}; do
check_status.sh

0 comments on commit c5d0913

Please sign in to comment.