From 70c42ebe4029ea9b0fd50d9de1172729fabd0e23 Mon Sep 17 00:00:00 2001 From: william os4y Date: Sun, 22 Feb 2015 19:17:16 +0100 Subject: fix issue #55: inform user whan return code is not null --- 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 4dab7ed0..4a9f7639 100644 --- a/lumina-open/main.cpp +++ b/lumina-open/main.cpp @@ -322,7 +322,7 @@ int main(int argc, char **argv){ //qDebug() << "[lumina-open] Finished Cmd:" << cmd << retcode << p->exitStatus(); //if(retcode!=0 ){ - if(p->exitStatus() == QProcess::CrashExit){ + if(p->exitStatus() == QProcess::CrashExit or retcode > 0){ qDebug() << "[lumina-open] Application Error:" << retcode; QString err = QString(p->readAllStandardError()); if(err.isEmpty()){ err = QString(p->readAllStandardOutput()); } -- cgit