aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lumina-open/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lumina-open/main.cpp b/lumina-open/main.cpp
index 8b79682d..657ffc07 100644
--- a/lumina-open/main.cpp
+++ b/lumina-open/main.cpp
@@ -327,7 +327,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()); }
bgstack15