forked from mirrors/openup
check the return code of syspatch
This commit is contained in:
parent
158781a83b
commit
681584433b
1 changed files with 4 additions and 0 deletions
4
openup
4
openup
|
|
@ -134,6 +134,10 @@ rm_old_bp() {
|
|||
update_syspatches() {
|
||||
pr "Installing/updating syspatches"
|
||||
syspatch
|
||||
if [ $? -gt 0 ]; then
|
||||
pr_err "syspatch failed; please run syspatch manually"
|
||||
bye_bye
|
||||
fi
|
||||
}
|
||||
|
||||
update_binpatches() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue