catalyst-auto: fix return value passing with run_cmd helper
This commit is contained in:
parent
e8186ef489
commit
ef83c934a8
1 changed files with 3 additions and 0 deletions
|
@ -82,6 +82,9 @@ run_cmd() {
|
||||||
else
|
else
|
||||||
"$@" &> "${logfile}"
|
"$@" &> "${logfile}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# If we used tee above, make sure we pass back up the command's error.
|
||||||
|
return ${PIPESTATUS[0]}
|
||||||
}
|
}
|
||||||
|
|
||||||
update_symlinks() {
|
update_symlinks() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue