From 885294fa9fd4e4e956d64d10c75db8f1e553794d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Fri, 15 Dec 2017 15:48:19 +0000 Subject: [PATCH] update shell template --- scripts/template.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/template.sh b/scripts/template.sh index 6577a26..f800880 100755 --- a/scripts/template.sh +++ b/scripts/template.sh @@ -105,6 +105,7 @@ function traperror() { local linecallfunc="$3" local command="$4" local funcstack="$5" + IFS=" " for e in ${err[@]}; do if test -n "$e" -a "$e" != "0"; then error "line $line - command '$command' exited with status: $e (${err[@]})"