From 6b79206b3cf7600dbf1376ad3fff09bc0e6d3966 Mon Sep 17 00:00:00 2001 From: ronivay Date: Mon, 12 Oct 2020 08:28:58 +0300 Subject: [PATCH] always exit if we hit the errorhandling trap --- xo-install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xo-install.sh b/xo-install.sh index bc642fc..22e7743 100755 --- a/xo-install.sh +++ b/xo-install.sh @@ -112,6 +112,8 @@ function ErrorHandling { cmdlog "rm -rf $INSTALLDIR/xo-builds/xen-orchestra-$TIME" rm -rf $INSTALLDIR/xo-builds/xen-orchestra-$TIME >> $LOGFILE 2>&1 fi + + exit 1 } function InstallDependenciesCentOS {