Extra check and comment

This commit is contained in:
Henrik Rydgård committed 2024-01-21 13:47:11 +01:00
1 parent 2d9afaa6df
commit b2c19695ed
2 files changed
+4

No files matched your search

+1
View File
@@ -753,6 +753,7 @@ UI::EventReturn ConfirmMemstickMoveScreen::OnConfirm(UI::EventParams &params) {
}
// Delete all the old, now hopefully empty, directories.
// Hopefully DeleteDir actually fails if it contains a file...
for (auto &dirSuffix : directorySuffixesToCreate) {
Path dir = moveSrc / dirSuffix;
if (dryRun) {