From: garciadeblas Date: Fri, 7 Apr 2017 18:14:57 +0000 (+0200) Subject: Fix bug in installer when checking lxd presence X-Git-Tag: v1.1.1~2 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;ds=sidebyside;h=refs%2Fchanges%2F28%2F1528%2F1;p=osm%2Fdevops.git Fix bug in installer when checking lxd presence Change-Id: I4e0dcdd59a8be0499225fc242acb568ab36eff0c Signed-off-by: garciadeblas --- diff --git a/installers/install_from_source.sh b/installers/install_from_source.sh index cf706a97..5f483cd3 100755 --- a/installers/install_from_source.sh +++ b/installers/install_from_source.sh @@ -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