catalyst-auto: fix return value passing with run_cmd helper

This commit is contained in:
Mike Frysinger 2016-12-08 23:53:03 -05:00
parent e8186ef489
commit ef83c934a8

View file

@ -82,6 +82,9 @@ run_cmd() {
else
"$@" &> "${logfile}"
fi
# If we used tee above, make sure we pass back up the command's error.
return ${PIPESTATUS[0]}
}
update_symlinks() {