Exit with error code if AppImage generation fails

This commit is contained in:
probonopd
2016-10-10 19:05:34 +02:00
parent 3a464ba922
commit b1f3506c36
3 changed files with 7 additions and 3 deletions
+4 -1
View File
@@ -207,7 +207,10 @@ int main(int argc, char **argv)
stripAppBinary(appDirPath);
if (appimage) {
createAppImage(appDirPath);
int result = createAppImage(appDirPath);
if(result =! 0){
exit(result);
}
}
return 0;