From 2a0772623c8f23c2bf559324ec124929cdbc181e Mon Sep 17 00:00:00 2001 From: PierreGode Date: Mon, 30 Jul 2018 09:25:56 +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 0028198..40c9be0 100644 --- a/ADconnection.sh +++ b/ADconnection.sh @@ -223,7 +223,7 @@ linuxclient ################################## Join for linux clients ########################################## linuxclient(){ -desktop=$( sudo apt list --installed | grep -i desktop | grep -i ubuntu | cut -d '-' -f1 | grep -i desktop ) +desktop=$( sudo apt list --installed | grep -i desktop | grep -i ubuntu | cut -d '-' -f1 | grep -i desktop | head -1 ) rasp=$( lsb_release -a | grep -i Distributor | awk '{print $3}' ) kalilinux=$( lsb_release -a | grep -i Distributor | awk '{print $3}' ) #### OS detection