Browse Source

refactor: dont try to stop a server that is already stopped

pull/4304/head
Daniel Gibbs 2 years ago
parent
commit
ba71211382
  1. 2
      lgsm/modules/command_stop.sh

2
lgsm/modules/command_stop.sh

@ -260,12 +260,12 @@ fn_stop_pre_check() {
else
# Select graceful shutdown.
fn_stop_graceful_select
fi
# Check status again, a kill tmux session if graceful shutdown failed.
check_status.sh
if [ "${status}" != "0" ]; then
fn_stop_tmux
fi
fi
}
check.sh

Loading…
Cancel
Save