From ec6c1445f15404ceea1f2369cc8d69713dba7bb4 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 21 May 2018 09:08:12 +0200 Subject: [PATCH] Added flag options see: sudo sh ADconnection.sh --help --- ADconnection.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ADconnection.sh b/ADconnection.sh index b922a3e..b0f5b0b 100644 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -1033,7 +1033,7 @@ else if [ "$1" = "-l" ] then DATE=`date +%H:%M` - MENU_FN 2>&1 | sudo tee ADconnection.log + MENU_FN 2>&1 | sudo tee adconnection.log exit else if [ "$1" = "-j" ] @@ -1044,6 +1044,7 @@ else if [ "$1" = "-s" ] then sudo realm discover + exit else echo "" fi