From 5c5d328f1eb38586f6ddee23551a619feb63d694 Mon Sep 17 00:00:00 2001 From: kauedg Date: Fri, 27 Oct 2023 23:21:47 -0300 Subject: [PATCH] Aborts installation with inexistent flavor --- iso/installer/install.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/iso/installer/install.sh b/iso/installer/install.sh index 72d921a8..cb7705da 100755 --- a/iso/installer/install.sh +++ b/iso/installer/install.sh @@ -776,6 +776,10 @@ case $myCONF_TPOT_FLAVOR in fuBANNER "SENSOR" ln -s /opt/tpot/etc/compose/sensor.yml $myTPOTCOMPOSE ;; + *) + echo "Aborting. TPot flavor $myCONF_TPOT_FLAVOR doesn't exist." + exit + ;; esac # Let's load docker images