This commit is contained in:
vaxerski 2022-07-17 14:12:03 +02:00
parent 3de17d1636
commit 59956ce32a

View file

@ -125,7 +125,8 @@ void CHyprpaper::removeOldHyprpaperImages() {
// unlink it
memoryFreed += entry.file_size();
std::filesystem::remove(FILENAME);
if (!std::filesystem::remove(entry.path()))
Debug::log(LOG, "Couldn't remove %s", entry.path().string().c_str());
cleaned++;
}
}