Fix bug in installer when checking lxd presence 28/1528/1
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Fri, 7 Apr 2017 18:14:57 +0000 (20:14 +0200)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Fri, 7 Apr 2017 18:14:57 +0000 (20:14 +0200)
Change-Id: I4e0dcdd59a8be0499225fc242acb568ab36eff0c
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
installers/install_from_source.sh

index cf706a9..5f483cd 100755 (executable)
@@ -284,7 +284,7 @@ if [ -z "$ASSUME_YES" ]; then
 fi
 
 echo -e "Checking required packages: lxd"
-lxd --version &>/dev/null || echo -e "lxd not present, exiting " >&2 && exit 1
+lxd --version &>/dev/null || FATAL "lxd not present, exiting."
 
 wget -q -O- https://osm-download.etsi.org/ftp/osm-1.0-one/README.txt &> /dev/null