Daniel Gibbs
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
lgsm/functions/fix_ts3.sh
|
@ -18,7 +18,7 @@ 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" |
|
|
accountingfile="/dev/shm/7gbhujb54g8z9hu43jre8" |
|
|
if [ -f "${accountingfile}" ]; then |
|
|
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 |
|
|
if [ "$( stat -c %U ${accountingfile})" == "$(whoami)" ]; then |
|
|
fixname="Delete file ${accountingfile}" |
|
|
fixname="Delete file ${accountingfile}" |
|
|
fn_fix_msg_start |
|
|
fn_fix_msg_start |
|
|