fix: don't treat file not found as an error

This commit is contained in:
Ian Chua
2026-07-20 18:57:54 +08:00
parent 2f07eb2cd6
commit 09580e1c29

View File

@@ -120,8 +120,7 @@ bool delete_plugin_root(const boost::filesystem::path& resolved_root, const std:
}
if (removed_count == 0) {
error = "Plugin folder was not found: " + resolved_root.string();
return false;
return true;
}
BOOST_LOG_TRIVIAL(info) << "Deleted plugin: " << plugin_id << " from " << resolved_root.string();