[master 1/2] Call ipmi_report before sys.exit

dashea installerbot-noreply at redhat.com
Tue Aug 4 14:53:38 UTC 2015


From: David Shea <dshea at redhat.com>

---
 pyanaconda/ui/gui/spokes/storage.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyanaconda/ui/gui/spokes/storage.py b/pyanaconda/ui/gui/spokes/storage.py
index 8e5f367..9be197d 100644
--- a/pyanaconda/ui/gui/spokes/storage.py
+++ b/pyanaconda/ui/gui/spokes/storage.py
@@ -1000,8 +1000,8 @@ def on_info_bar_clicked(self, *args):
 
             if rc == 0:
                 # Quit.
-                sys.exit(0)
                 iutil.ipmi_report(constants.IPMI_ABORTED)
+                sys.exit(0)
         elif self.warnings:
             label = _("The following warnings were encountered when checking your storage "
                       "configuration.  These are not fatal, but you may wish to make "


-- 
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/7ece24d0059bfafbf5a5e19709a19da47ad25896


More information about the anaconda-patches mailing list