From 518a25912bff28436b1a896b32baeb1367d71206 Mon Sep 17 00:00:00 2001 From: Francois B Date: Sat, 26 May 2018 23:27:02 +0200 Subject: [PATCH] warning msg for no supported distro --- yggdrasil.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/yggdrasil.sh b/yggdrasil.sh index e43bd9e..567ab97 100755 --- a/yggdrasil.sh +++ b/yggdrasil.sh @@ -27,7 +27,10 @@ elif [[ $OS == *"Ubuntu 18.04 LTS"* ]]; then source /opt/yggdrasil/menus_functions_ub1804.sh source /opt/yggdrasil/tools_functions_ub1804.sh else - return 1 + printf "\n" + printf $BOLDROUGE"Distribution non supportée/testée"$NORMAL + printf "\n\n" + exit fi #