Update ADconnection.sh

This commit is contained in:
PierreGode 2020-07-13 08:01:04 +02:00 committed by GitHub
parent 05ca6de0a1
commit 13461f2bbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -903,8 +903,12 @@ then
exit exit
fi fi
else else
echo "error in readfile" echo "No readfile"
exit if ! sudo realm join --verbose --user="$ADMIN" "$DOMAIN" --install=/
then
echo "${RED_TEXT}AD join failed.please check your errors with journalctl -xe${END}"
exit
fi
fi fi
fi fi
else else