From 15cbc922087f60a6e8a5e1df5491b021c2bbc4f7 Mon Sep 17 00:00:00 2001 From: "Carl D. Roth" Date: Wed, 30 Nov 2016 18:23:17 -0800 Subject: [PATCH] Handle failed installs --- .../vendor-config-onl/src/python/onl/install/SystemInstall.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/base/all/vendor-config-onl/src/python/onl/install/SystemInstall.py b/packages/base/all/vendor-config-onl/src/python/onl/install/SystemInstall.py index b8c353a7..25d51928 100644 --- a/packages/base/all/vendor-config-onl/src/python/onl/install/SystemInstall.py +++ b/packages/base/all/vendor-config-onl/src/python/onl/install/SystemInstall.py @@ -32,7 +32,8 @@ class UpgradeHelper(Upgrader): def _runInitrdShell(self, p): if self.callback is not None: - self.callback(self, p) + return self.callback(self, p) + return 0 class App(SubprocessMixin):