From 51f6a5b25ae47bbb6417e1b772c80d0a1202cb95 Mon Sep 17 00:00:00 2001 From: UltimateByte Date: Fri, 27 Jan 2017 09:23:01 +0100 Subject: [PATCH] warn & error in the right places --- lgsm/functions/check_permissions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lgsm/functions/check_permissions.sh b/lgsm/functions/check_permissions.sh index ff9d619ee..8609708e2 100644 --- a/lgsm/functions/check_permissions.sh +++ b/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"