Kaynağa Gözat

warn & error in the right places

UltimateByte 9 yıl önce
ebeveyn
işleme
51f6a5b25a
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  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"