LogError() if AppImage is already there

This commit is contained in:
probonopd
2016-09-14 03:40:38 +02:00
committed by GitHub
parent 3ed9b1c99b
commit cb490c0302
+2 -2
View File
@@ -1063,8 +1063,8 @@ void createAppImage(const QString &appDirPath)
appImage.remove(); appImage.remove();
if (appImage.exists()) { if (appImage.exists()) {
LogNormal() << "AppImage already exists, skipping .AppImage creation for" << appImage.fileName(); LogError() << "AppImage already exists, skipping .AppImage creation for" << appImage.fileName();
LogNormal() << "use -always-overwrite to overwrite"; LogError() << "use -always-overwrite to overwrite";
} else { } else {
LogNormal() << "Creating AppImage for" << appDirPath; LogNormal() << "Creating AppImage for" << appDirPath;
} }