mirror of
https://github.com/hyprwm/hyprpaper.git
synced 2024-09-11 19:07:40 +03:00
oops
This commit is contained in:
parent
3de17d1636
commit
59956ce32a
@ -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++;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user