archive info: include archive name in error message

so that we have some context if users report issues with it..

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht
2020-05-15 19:13:37 +02:00
parent c265d42160
commit bf5af0fbf5
2 changed files with 4 additions and 3 deletions

View File

@ -1402,7 +1402,7 @@ sub archive_info {
$info->{type} = $1;
}
} else {
die "ERROR: couldn't determine format and compression type\n";
die "ERROR: couldn't determine archive info from '$archive'\n";
}
return $info;