From 0ba392d4902233520e3f6d66ea3e0195b1d02f18 Mon Sep 17 00:00:00 2001 From: UltimateByte Date: Fri, 27 Jan 2017 08:51:50 +0100 Subject: [PATCH] typo fixes --- lgsm/functions/check_permissions.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lgsm/functions/check_permissions.sh b/lgsm/functions/check_permissions.sh index aaf75939a..664a5f63b 100644 --- a/lgsm/functions/check_permissions.sh +++ b/lgsm/functions/check_permissions.sh @@ -141,7 +141,7 @@ fn_sys_perm_errors(){ if [ ! -r "/sys/class" ]||[ ! -x "/sys/class" ]; then classdirpermerror="1" fi - if [ ! -r "/sys/class/net" ]||[ ! -x "sys/class/net" ]; then + if [ ! -r "/sys/class/net" ]||[ ! -x "/sys/class/net" ]; then netdirpermerror="1" fi } @@ -162,8 +162,8 @@ fn_sys_perm_error_display(){ fn_script_log "/sys/class permissions are $(stat -c %a /sys/class) instead of expected 755" fi if [ "${netdirpermerror}" == "1" ]; then - echo " * /sys/class/net permissions are $(stat -c %a /sys/class) instead of expected 755" - fn_script_log "/sys/class/net permissions are $(stat -c %a /sys/class) instead of expected 755" + echo " * /sys/class/net permissions are $(stat -c %a /sys/class/net) instead of expected 755" + fn_script_log "/sys/class/net permissions are $(stat -c %a /sys/class/net) instead of expected 755" fi echo "" fn_print_information_nl "This error causes servers to fail starting properly"