Explorar el Código

missing chmod

UltimateByte hace 9 años
padre
commit
cc8273d24f
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

@@ -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