@@ -141,7 +141,7 @@ Load the testability driver");
141141 view->setSource(source);
142142 QObject::connect(view->engine(), SIGNAL(quit()), application, SLOT(quit()));
143143
144− if (!isMirServer && !qgetenv("UNITY_MIR_EMITS_SIGSTOP").isEmpty()) {
144+ if (!isMirServer && qEnvironmentVariableIsSet("UNITY_MIR_EMITS_SIGSTOP")) {
145145 // Emit SIGSTOP as expected by upstart, under Mir it's qtmir that will raise it.
146146 // see http://upstart.ubuntu.com/cookbook/#expect-stop
147147 raise(SIGSTOP);