Ignore stderr in extract_prereqs - only rely on $?
Peter Rabbitson [Mon, 22 Jul 2013 03:36:42 +0000 (05:36 +0200)]
maint/travis-ci_scripts/common.bash

index 0b07838..691323a 100755 (executable)
@@ -47,7 +47,7 @@ extract_prereqs() {
   OUT=${COMBINED_OUT#*!!!STDERRSTDOUTSEPARATOR!!!}
   ERR=$(grep -v " is up to date." <<< "${COMBINED_OUT%!!!STDERRSTDOUTSEPARATOR!!!*}")
 
-  if [[ "$LASTEXIT" != "0" ]] || [[ -n "$ERR" ]] ; then
+  if [[ "$LASTEXIT" != "0" ]] ; then
     echo_err "Error occured (exit code $LASTEXIT) retrieving dependencies of $@:"
     echo_err "$ERR"
     echo_err "$OUT"