From 9eb6bac99388d480426acec27e83925cee53d81f Mon Sep 17 00:00:00 2001 From: Thibault Ayanides Date: Wed, 28 Oct 2020 15:04:41 +0100 Subject: [PATCH] FIX(6.2.9): fix EXCEPTIONS unbound variable error --- bin/hardening/6.2.9_users_valid_homedir.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/hardening/6.2.9_users_valid_homedir.sh b/bin/hardening/6.2.9_users_valid_homedir.sh index 5179fd1..cb3b5e9 100755 --- a/bin/hardening/6.2.9_users_valid_homedir.sh +++ b/bin/hardening/6.2.9_users_valid_homedir.sh @@ -14,6 +14,8 @@ set -u # One variable unset, it's over HARDENING_LEVEL=2 DESCRIPTION="Ensure users own their home directories" +EXCEPTIONS="" + ERRORS=0 # This function will be called if the script status is on enabled / audit mode