From a62c9c82c716ca4549b589d954a2eeb1fe83423a Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Thu, 21 May 2015 09:07:31 -0400 Subject: Oops, forgot to include the process exit status comparison before changing the rreturn code to 1 with the new lumina-open changes. --- lumina-open/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lumina-open') diff --git a/lumina-open/main.cpp b/lumina-open/main.cpp index 51d10464..dd2b1c93 100644 --- a/lumina-open/main.cpp +++ b/lumina-open/main.cpp @@ -340,7 +340,7 @@ int main(int argc, char **argv){ if(p->state() != QProcess::Running){ break; } //somehow missed the finished signal } retcode = p->exitCode(); - if(QProcess::CrashExit && retcode ==0){ retcode=1; } //so we catch it later + if( (p->exitStatus()==QProcess::CrashExit) && retcode ==0){ retcode=1; } //so we catch it later log = QString(p->readAllStandardError()); if(log.isEmpty()){ log = QString(p->readAllStandardOutput()); } } -- cgit