summaryrefslogtreecommitdiff
path: root/src/macdeployqt
diff options
context:
space:
mode:
Diffstat (limited to 'src/macdeployqt')
-rw-r--r--src/macdeployqt/macdeployqt/main.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/macdeployqt/macdeployqt/main.cpp b/src/macdeployqt/macdeployqt/main.cpp
index cf9000c72..80c89799f 100644
--- a/src/macdeployqt/macdeployqt/main.cpp
+++ b/src/macdeployqt/macdeployqt/main.cpp
@@ -64,14 +64,14 @@ int main(int argc, char **argv)
qDebug() << "See the \"Deploying an Application on Qt/Mac\" topic in the";
qDebug() << "documentation for more information about deployment on Mac OS X.";
- return 0;
+ return 1;
}
appBundlePath = QDir::cleanPath(appBundlePath);
if (QDir().exists(appBundlePath) == false) {
qDebug() << "Error: Could not find app bundle" << appBundlePath;
- return 0;
+ return 1;
}
bool plugins = true;
@@ -136,7 +136,7 @@ int main(int argc, char **argv)
}
} else if (argument.startsWith("-")) {
LogError() << "Unknown argument" << argument << "\n";
- return 0;
+ return 1;
}
}
@@ -173,5 +173,7 @@ int main(int argc, char **argv)
LogNormal();
createDiskImage(appBundlePath);
}
+
+ return 0;
}