From 4e0f5bb3cd175d1c5a6fb379ad7709e6226b35e6 Mon Sep 17 00:00:00 2001 From: Rezart Qelibari Date: Mon, 28 Mar 2022 00:23:35 +0200 Subject: [PATCH] Stop on first error during installation --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 828e2d7..db147e1 100755 --- a/install.sh +++ b/install.sh @@ -62,7 +62,7 @@ function installModules() { filterPasswordOptions [[ "${verbose}" = true ]] && moduleOptions+=(-v) lop -- -d "Running ${mod}" -d "with ${#moduleOptions} args:" -d "${filteredOptions}" - runModule ${mod} ${moduleOptions} + runModule ${mod} ${moduleOptions} || return done }