always exit if we hit the errorhandling trap

This commit is contained in:
ronivay
2020-10-12 08:28:58 +03:00
parent 96fa57df3b
commit 6b79206b3c

View File

@@ -112,6 +112,8 @@ function ErrorHandling {
cmdlog "rm -rf $INSTALLDIR/xo-builds/xen-orchestra-$TIME" cmdlog "rm -rf $INSTALLDIR/xo-builds/xen-orchestra-$TIME"
rm -rf $INSTALLDIR/xo-builds/xen-orchestra-$TIME >> $LOGFILE 2>&1 rm -rf $INSTALLDIR/xo-builds/xen-orchestra-$TIME >> $LOGFILE 2>&1
fi fi
exit 1
} }
function InstallDependenciesCentOS { function InstallDependenciesCentOS {