Update ADconnection.sh

This commit is contained in:
PierreGoude 2018-03-21 10:23:36 +01:00 committed by GitHub
parent a9e30091d5
commit 826b58c4ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1000,6 +1000,7 @@ read -p "Do you really want to leave $DOMAIN (y/n)?" yn
left=$(sudo realm discover | grep configured | awk '{print $2}') left=$(sudo realm discover | grep configured | awk '{print $2}')
if [ "$left" = "no" ] if [ "$left" = "no" ]
then then
echo ""
echo "$DOMAIN has been left" echo "$DOMAIN has been left"
else else
echo "something went wrong, try to leave manually" echo "something went wrong, try to leave manually"