Explorar o código

missing chmod

UltimateByte %!s(int64=9) %!d(string=hai) anos
pai
achega
cc8273d24f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lgsm/functions/check_permissions.sh

+ 1 - 1
lgsm/functions/check_permissions.sh

@@ -170,7 +170,7 @@ fn_sys_perm_errors_fix(){
 			sudo chmod a+rx "/sys/class"
 		fi
 		if [ "${netdirpermerror}" == "1" ]; then
-			sudo a+rx "/sys/class/net"
+			sudo chmod a+rx "/sys/class/net"
 		fi
 		# Run check again to see if it's fixed
 		fn_sys_perm_errors_detect