Browse Source

Update fix_ts3.sh

pull/3204/head
Daniel Gibbs 5 years ago
committed by GitHub
parent
commit
da032709c0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      lgsm/functions/fix_ts3.sh

2
lgsm/functions/fix_ts3.sh

@ -18,7 +18,7 @@ fi
# Fixes: failed to register local accounting service: No such file or directory
accountingfile="/dev/shm/7gbhujb54g8z9hu43jre8"
if [ -f "${accountingfile}" ]; then
# check permissions for the file if the current user owns it, if not exit as well and exit as well
# 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}"
fn_fix_msg_start

Loading…
Cancel
Save