Browse Source

Update fix_ts3.sh

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

4
lgsm/functions/fix_ts3.sh

@ -15,7 +15,7 @@ if [ ! -f "${serverfiles}/libmariadb.so.2" ]; then
fn_fix_msg_end
fi
# Fixes: failed to register local accounting service: No such file or directory
# 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.
@ -24,7 +24,7 @@ if [ -f "${accountingfile}" ]; then
fn_fix_msg_start
rm -f "${accountingfile}"
fn_fix_msg_end
# file is not owned by the current user and needs to be deleted manually
# file is not owned by the current user and needs to be deleted manually.
else
fn_print_error_nl "File ${accountingfile} is not owned by $(whoami) and needs to be deleted manually"
fn_script_log_fatal "File ${accountingfile} is not owned by $(whoami) and needs to be deleted manually"

Loading…
Cancel
Save