Explorar el Código

funcownissue instead of filesownissue

It wouldn't display onwership issues in filesdir.
UltimateByte hace 9 años
padre
commit
7f88bc8742
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      lgsm/functions/check_permissions.sh

+ 1 - 1
lgsm/functions/check_permissions.sh

@@ -37,7 +37,7 @@ fn_check_ownership(){
 			if [ "${funcownissue}" == "1" ]; then
 				find "${functionsdir}" -not -user $(whoami) -printf "%u\t\t%g\t%p\n"
 			fi
-			if [ "${funcownissue}" == "1"  ]; then
+			if [ "${filesownissue}" == "1"  ]; then
 				find "${filesdir}" -not -user $(whoami) -printf "%u\t\t%g\t%p\n"
 			fi