Browse Source

fix if

pull/3151/head
Daniel Gibbs 5 years ago
parent
commit
2072bc187c
  1. 2
      linuxgsm.sh

2
linuxgsm.sh

@ -387,7 +387,6 @@ else
else else
echo -e "OK" echo -e "OK"
fi fi
fi
else else
function_file_diff=$(diff -q "${configdirdefault}/config-lgsm/${gameservername}/_default.cfg" "${configdirserver}/_default.cfg") function_file_diff=$(diff -q "${configdirdefault}/config-lgsm/${gameservername}/_default.cfg" "${configdirserver}/_default.cfg")
if [ "${function_file_diff}" != "" ]; then if [ "${function_file_diff}" != "" ]; then
@ -402,6 +401,7 @@ else
fi fi
fi fi
fi fi
fi
# Configs have to be loaded twice to allow start startparameters to pick up all vars # Configs have to be loaded twice to allow start startparameters to pick up all vars
# shellcheck source=/dev/null # shellcheck source=/dev/null
source "${configdirserver}/_default.cfg" source "${configdirserver}/_default.cfg"

Loading…
Cancel
Save