From 681584433b7d22f459c406d80efd4364fe24bf1b Mon Sep 17 00:00:00 2001 From: Robert Nagy Date: Fri, 6 Oct 2017 18:30:14 +0200 Subject: [PATCH] check the return code of syspatch --- openup | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/openup b/openup index 205a51e..07980d0 100755 --- a/openup +++ b/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() {