Browse Source

fix TS3 bug causing shutdown when starting debug

the fix was running and killing a running server
pull/3428/head
Daniel Gibbs 4 years ago
parent
commit
ae69c221b2
  1. 2
      lgsm/functions/fix_ts3.sh

2
lgsm/functions/fix_ts3.sh

@ -17,7 +17,7 @@ fi
# Fixes: failed to register local accounting service: No such file or directory.
accountingfile="/dev/shm/7gbhujb54g8z9hu43jre8"
if [ -f "${accountingfile}" ]; then
if [ -f "${accountingfile}" ]&&[ "${status}" == "0" ]; then
# Check permissions for the file if the current user owns it, if not exit.
if [ "$( stat -c %U ${accountingfile})" == "$(whoami)" ]; then
fixname="Delete file ${accountingfile}"

Loading…
Cancel
Save