From de5d466b68b85b51ecb36c7cc406e2f291fc9604 Mon Sep 17 00:00:00 2001 From: PierreGode Date: Fri, 24 Aug 2018 13:13:38 +0200 Subject: [PATCH] Update ADconnection.sh --- ADconnection.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ADconnection.sh b/ADconnection.sh index 9c2646b..a62bd5c 100644 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -1608,8 +1608,8 @@ while test $# -gt 0; do ;; -s) if test $# -gt 0; then - realm - if [ "$?" = "0" ] + realm < /dev/null > /dev/null 2>&1 + if [ "$?" = "0" ] then sudo realm discover exit