From 84b14c1008f050c02af66356e4dd3612522cfdb1 Mon Sep 17 00:00:00 2001 From: PierreGoude Date: Mon, 10 Jul 2017 14:31:43 +0200 Subject: [PATCH] Update ADconnection.sh --- ADconnection.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ADconnection.sh b/ADconnection.sh index 668e37e..b65fc45 100644 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -192,7 +192,7 @@ fi sudo sh -c "echo 'greeter-show-manual-login=true' | sudo tee -a /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf" sudo sh -c "echo 'allow-guest=false' | sudo tee -a /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf" therealm=$(realm discover $DOMAIN | grep -i configured: | cut -d ':' -f2 | sed -e 's/^[[:space:]]*//') -if [ $therealm = no ] +if [ "$therealm" = no ] then echo Realm configured?.. "${RED_TEXT}"FAIL"${END}" else