mirror of
https://github.com/PierreGode/Linux-Active-Directory-join-script.git
synced 2025-12-21 16:50:13 +01:00
Update ADconnection.sh
This commit is contained in:
parent
a9e30091d5
commit
826b58c4ed
@ -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"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user