Add detection of files which fail permission

Old code caught some file permission denied but not all.
This commit is contained in:
Bob
2019-10-01 22:44:17 +01:00
parent 872a49bb7d
commit d46b63fad8
+2
View File
@@ -99,6 +99,8 @@ fn examine_dir(
}
None => *file_count_no_permission += 1,
}
} else {
*file_count_no_permission += 1
}
}
}