PKG install hotfix

This commit is contained in:
Elad Ashkenazi 2022-12-24 06:41:53 +02:00 committed by Ivan
parent 98dbbd84ac
commit dd8ec8f09e

View file

@ -914,7 +914,11 @@ bool package_reader::extract_data(atomic_t<double>& sync)
}
else
{
fs::remove_all(dir, true);
if (was_null)
{
fs::remove_all(dir, true);
}
pkg_log.error("Package installation failed: %s", dir);
}