on xenial help sign in
Fix upstart integration test under X11.
commitfb62e29db56e0d43e67389e81e8b9aef0207b96d authorMichał Sawicz <michal.sawicz@canonical.com> dateTue 22 Jul 2014, 13:46 (12 years ago) parent2663b85
1 file changed+1−1
src/main.cpp+1−1
src/main.cpp+1−1
@@ -221,7 +221,7 @@ int main(int argc, const char *argv[])
221221
222222 return runWithClient(mirServer, startShell);
223223 } else {
224− if (qgetenv("UPSTART_JOB") == "unity8") {
224+ if (!qgetenv("UNITY_MIR_EMITS_SIGSTOP").isEmpty()) {
225225 // Emit SIGSTOP as expected by upstart, under Mir it's unity-mir that will raise it.
226226 // see http://upstart.ubuntu.com/cookbook/#expect-stop
227227 raise(SIGSTOP);