Explorar el Código

warn & error in the right places

UltimateByte hace 9 años
padre
commit
51f6a5b25a
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      lgsm/functions/check_permissions.sh

+ 2 - 2
lgsm/functions/check_permissions.sh

@@ -197,8 +197,8 @@ fn_sys_perm_error_process(){
 	fn_sys_perm_errors_detect
 	# If any error was found
 	if [ "${sysdirpermerror}" == "1" ]||[ "${classdirpermerror}" == "1" ]||[ "${netdirpermerror}" == "1" ]; then
-		fn_print_error_nl "Permission error(s) found:"
-		fn_script_log_error "Permission error(s) found:"
+		fn_print_warn_nl "Permission error(s) found:"
+		fn_script_log_warn "Permission error(s) found:"
 		sleep 1
 		if [ "${sysdirpermerror}" == "1" ]; then
 			echo "		* /sys permissions are $(stat -c %a /sys) instead of expected 555"