]> git.proxmox.com Git - pmg-docs.git/commitdiff
verify-images: include the file name that failed verification
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 28 Feb 2024 13:15:02 +0000 (14:15 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 28 Feb 2024 13:15:04 +0000 (14:15 +0100)
so that it might actually be useful..

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
png-verify.pl

index 8eb661139f88e3cd9f91d42d97dab034368313fb..8d37a16da705b3bf30e6cc419fc5ab6be798cb53 100755 (executable)
@@ -10,7 +10,7 @@ my $dpcm = 58; # expected
 
 my $tmp = `identify -units PixelsPerCentimeter -format '%x x %y' $infile`;
 
-die "got unexpected density '$tmp' (fix with png-cleanup.pl)\n"
+die "got unexpected density '$tmp' for file '$infile' (fix with png-cleanup.pl)\n"
     if $tmp ne "$dpcm x $dpcm";
 
 exit 0;