From 66db6e0a4dba5614572f02e3a9b6913d2487ca8b Mon Sep 17 00:00:00 2001 From: Tim Jenssen Date: Fri, 30 Mar 2012 13:44:01 +0200 Subject: binarycreator shouldn't exit with error code if it can't clean up correctly - in case there is something but ignoreErrors==true it is showing a warning message Change-Id: I9c09a310960a56432975757496984bbe36fe5028 Reviewed-by: Niels Weber Reviewed-by: Oliver Wolff --- tools/binarycreator/binarycreator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/binarycreator/binarycreator.cpp b/tools/binarycreator/binarycreator.cpp index aa64bf985..866b4a4a3 100644 --- a/tools/binarycreator/binarycreator.cpp +++ b/tools/binarycreator/binarycreator.cpp @@ -696,7 +696,7 @@ int main(int argc, char **argv) foreach (const QString &resource, input.binaryResources) QFile::remove(resource); } - removeDirectory(metaDir); + removeDirectory(metaDir, true); return result; } catch (const Error &e) { std::cerr << e.message() << std::endl; -- cgit v1.2.3