[pve-devel] applied: [PATCH manager 1/2] pvereport: dir2text: ignore special . and .. files

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Nov 2 21:02:32 CET 2023


On 03/10/2023 13:36, Aaron Lauterer wrote:
> So far this hasn't been an issue as each user of dir2text wanted files
> with a specific pattern. But if we want every file in the directory, we
> need to skip the special files '.' and '..'.
> 
> Signed-off-by: Aaron Lauterer <a.lauterer at proxmox.com>
> ---
>  PVE/Report.pm | 1 +
>  1 file changed, 1 insertion(+)
> 
>

applied, thanks!

I made an (only tangentially) related follow-up, adding a short hint
about what should get output to start of $text in dir2text, as it
seems IMO possible helpful when to get a bit more active hint that
there are no files when combing through logs.





More information about the pve-devel mailing list