Browse Source

Add missing exit action after lsb_release validation check.

Raphael Schneeberger 6 years ago
parent
commit
eec1a4f18c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      install/hst-install.sh

+ 1 - 0
install/hst-install.sh

@@ -46,6 +46,7 @@ if [ -e "/etc/os-release" ]; then
         else
             echo "lsb_release is currently not installed, please install it:"
             echo "apt-get update && apt-get install lsb_release"
+            exit 1
         fi
     elif [ "$type" = "debian" ]; then
         release=$(cat /etc/debian_version|grep -o [0-9]|head -n1)