Kaynağa Gözat

Update check_permissions.sh

UltimateByte 10 yıl önce
ebeveyn
işleme
9a86949cb8
1 değiştirilmiş dosya ile 0 ekleme ve 1 silme
  1. 0 1
      lgsm/functions/check_permissions.sh

+ 0 - 1
lgsm/functions/check_permissions.sh

@@ -24,7 +24,6 @@ fn_check_permissions(){
 if [ -n "${functionsdir}" ]; then
 if [ -n "${functionsdir}" ]; then
   find "${functionsdir}" -name "*.sh" | while read -r filename; do perm="$(stat -c %a "${filename}")"; shortperm="$(echo "${perm:0:1}")";
   find "${functionsdir}" -name "*.sh" | while read -r filename; do perm="$(stat -c %a "${filename}")"; shortperm="$(echo "${perm:0:1}")";
     if [ "${shortperm}" != "7" ]; then
     if [ "${shortperm}" != "7" ]; then
-      permissionerror="1"
       fn_print_warn_nl "Warning, permission issues found in ${functionsdir}"
       fn_print_warn_nl "Warning, permission issues found in ${functionsdir}"
       echo "  * Easy fix : chmod -R 755 ${functionsdir}"
       echo "  * Easy fix : chmod -R 755 ${functionsdir}"
     fi
     fi