From a12296cca9ddb7a279872b79d872c924613de1a8 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Thu, 29 Jul 2021 10:55:27 -0400 Subject: [PATCH] Fix return value of system::removeRecursively(). --- src/system.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system.cpp b/src/system.cpp index f327443d..1c6058e0 100644 --- a/src/system.cpp +++ b/src/system.cpp @@ -177,7 +177,7 @@ int removeRecursively(const std::string& path) { return fs::remove_all(fs::u8path(path)); } catch (fs::filesystem_error& e) { - return false; + return 0; } }