From ec3fd3ccf381f91ea24dd43daa875c1063ecfa56 Mon Sep 17 00:00:00 2001 From: UltimateByte Date: Tue, 15 Mar 2016 08:51:07 +0100 Subject: [PATCH] Update check_permissions.sh --- lgsm/functions/check_permissions.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lgsm/functions/check_permissions.sh b/lgsm/functions/check_permissions.sh index e293b1585..8c0bac559 100644 --- a/lgsm/functions/check_permissions.sh +++ b/lgsm/functions/check_permissions.sh @@ -1,5 +1,5 @@ #!/bin/bash -# LGSM check_permissions function +# LGSM check_permissions.sh # Author: Daniel Gibbs # Contributor: UltimateByte # Website: http://gameservermanagers.com @@ -25,7 +25,6 @@ if [ -n "${functionsdir}" ]; then find "${functionsdir}" -name "*.sh" | while read -r filename; do perm="$(stat -c %a "${filename}")"; shortperm="$(echo "${perm:0:1}")"; if [ "${shortperm}" != "7" ]; then permissionerror="1" - echo "Found permission error on $filename" fn_print_warn_nl "Warning, permission issues found in ${functionsdir}" echo " * Easy fix : chmod -R 755 ${functionsdir}" fi