From 3f6c2e83a25ed5015e8dbc1ef7d189c2af2f357d Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Mon, 20 Mar 2017 17:40:26 +0100 Subject: [PATCH] fix segfault aufter unbreak msgbox 56ddedaa39b3938fe15bf2f332e57dce0b2dc0a0 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/8516b1662d3a64f083a296d91ebbfd0fdd2bcf83 Author: Jacek Jendrzej Date: 2017-03-20 (Mon, 20 Mar 2017) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/neutrino.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/neutrino.cpp b/src/neutrino.cpp index 1f1a7d92c..dda468ad7 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -2125,10 +2125,6 @@ TIMER_START(); g_RCInput = new CRCInput(); - /* later on, we'll crash anyway, so tell about it. */ - if (! zapit_init) - DisplayErrorMessage("Zapit initialization failed. This is a fatal error, sorry."); - InitZapitClient(); g_Zapit->setStandby(false); @@ -2185,6 +2181,10 @@ TIMER_START(); g_CamHandler = new CCAMMenuHandler(); g_CamHandler->init(); + /* later on, we'll crash anyway, so tell about it. */ + if (! zapit_init) + DisplayErrorMessage("Zapit initialization failed. This is a fatal error, sorry."); + #ifndef ASSUME_MDEV mkdir("/media/sda1", 0755); mkdir("/media/sdb1", 0755);