From eeda9bd88d40cac49e83f4524d4f4f4f561f48e0 Mon Sep 17 00:00:00 2001 From: Pierre Gode Date: Mon, 29 Apr 2019 13:48:27 +0200 Subject: [PATCH] small update --- ADconnection.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ADconnection.sh b/ADconnection.sh index 56fcd71..675e163 100755 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -1460,7 +1460,7 @@ clear export HOSTNAME myhost=$( hostname | cut -d '.' -f1 ) DOMAIN=$(realm discover | grep -i realm.name | awk '{print $2}' | tr "[:upper:]" "[:lower:]") -if [ -z "$2 $3" ] +if [ -z "$2" ] then if [ -d /home/"$DOMAIN" ] then