catalyst-auto: fix return value passing with run_cmd helper
This commit is contained in:
parent
e8186ef489
commit
ef83c934a8
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue