]> git.proxmox.com Git - pve-manager.git/commitdiff
report: add hint for dir2text
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 2 Nov 2023 19:59:49 +0000 (20:59 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 2 Nov 2023 20:00:05 +0000 (21:00 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/Report.pm

index 12d7d9a57abab8b316243ce797104e31df261ab0..2024285e6d3d68698898a913ad32cc5305af3cc3 100644 (file)
@@ -10,7 +10,7 @@ my sub dir2text {
     my ($target_dir, $regexp) = @_;
 
     print STDERR "dir2text '${target_dir}${regexp}'...";
-    my $text = '';
+    my $text = "# output '${target_dir}${regexp}' file(s)\n";
     PVE::Tools::dir_glob_foreach($target_dir, $regexp, sub {
        my ($file) = @_;
        return if $file eq '.' || $file eq '..';