diff options
Diffstat (limited to 'scripts/aggregate.sh')
-rwxr-xr-x | scripts/aggregate.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/aggregate.sh b/scripts/aggregate.sh index 3d2c47e4..065ad9cb 100755 --- a/scripts/aggregate.sh +++ b/scripts/aggregate.sh @@ -21,5 +21,10 @@ grep -v -e '^#' $ODIR/metadata.lst | (while read url cert; do cfile=$DIR/certs/$cert fi cmd="$DIR/scripts/pull-and-verify.sh $url $ODIR $cfile" - $cmd || { echo "$cmd returned $ret" ; exit $ret ; } + $cmd + ret=$? + if [ "$ret" != "0" ] ; then + echo "$cmd returned $ret" + exit $ret + fi done) || exit $ret |