From 82f99776e2455d83e9cbf04e97b129b2add27f03 Mon Sep 17 00:00:00 2001 From: probonopd Date: Sat, 22 Oct 2016 15:54:37 +0200 Subject: [PATCH] Return correct exit code --- shared/shared.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/shared.cpp b/shared/shared.cpp index ac0a89b..83732e6 100644 --- a/shared/shared.cpp +++ b/shared/shared.cpp @@ -1163,5 +1163,5 @@ int createAppImage(const QString &appDirPath) } QString appImageCommand = "AppImageAssistant '" + appDirPath +"' '" + appImagePath + "'"; int ret = system(appImageCommand.toUtf8().constData()); - return ret; + return WEXITSTATUS(ret); }