From 939ede33553c7683ede1029c1844fe035ea02306 Mon Sep 17 00:00:00 2001 From: PierreGode Date: Fri, 9 Nov 2018 10:11:17 +0100 Subject: [PATCH] Update ADconnection.sh --- ADconnection.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/ADconnection.sh b/ADconnection.sh index c2c7722..722a745 100644 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -193,7 +193,6 @@ echo Checking sudoers file.. "${INTRO_TEXT}"OK"${END}" else echo checking sudoers file.. "${RED_TEXT}"FAIL"${END}" fi -fi grouPs=$(cat /etc/sudoers.d/sudoers | grep -i "$myhost" | cut -d '%' -f2 | awk '{print $1}' | head -1) if [ "$grouPs" = "$myhost""sudoers" ] then