Browse Source

Fixing issues with ut2k4server restart not working

pull/1477/head
Daniel Gibbs 8 years ago
parent
commit
74d22a839d
  1. 6
      lgsm/functions/command_start.sh

6
lgsm/functions/command_start.sh

@ -29,9 +29,7 @@ fn_start_teamspeak3(){
if [ "${status}" != "0" ]; then
fn_print_info_nl "${servername} is already running"
fn_script_log_error "${servername} is already running"
if [ "${exitbypass}" ]; then
exit
else
if [ -z "${exitbypass}" ]; then
core_exit.sh
fi
fi
@ -92,8 +90,10 @@ fn_start_tmux(){
if [ "${status}" != "0" ]; then
fn_print_info_nl "${servername} is already running"
fn_script_log_error "${servername} is already running"
if [ -z "${exitbypass}" ]; then
core_exit.sh
fi
fi
# Create lockfile
date > "${rootdir}/${lockselfname}"

Loading…
Cancel
Save