Update ADconnection.sh

This commit is contained in:
PierreGode 2018-09-06 19:34:39 +02:00 committed by GitHub
parent cca522a1ac
commit 118d293515
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1371,6 +1371,8 @@ read -p "Do you really want to leave the domain: $DOMAIN (y/n)?" yn
notify-send ADconnection "Left $DOMAIN " notify-send ADconnection "Left $DOMAIN "
else else
echo "something went wrong, try to leave manually" echo "something went wrong, try to leave manually"
echo ""
echo "Please type domain you wish to leave"
read -r DOMAIN read -r DOMAIN
sudo realm leave $DOMAIN sudo realm leave $DOMAIN
left=$(sudo realm discover | grep configured | awk '{print $2}') left=$(sudo realm discover | grep configured | awk '{print $2}')