PBSClient: adapt error message to include full package names

More helpful for a user to know what they're missing.

Suggested-by: Dominic Jäger <d.jaeger@proxmox.com>
Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
This commit is contained in:
Stefan Reiter 2021-04-22 17:34:48 +02:00 committed by Thomas Lamprecht
parent 390fc10dc4
commit 9f727e5536

View File

@ -141,7 +141,7 @@ my sub do_raw_client_cmd {
my $client_exe = (delete $opts{binary}) || 'proxmox-backup-client'; my $client_exe = (delete $opts{binary}) || 'proxmox-backup-client';
$client_exe = "/usr/bin/$client_exe"; $client_exe = "/usr/bin/$client_exe";
die "executable not found '$client_exe'! Proxmox backup client or file restore not installed?\n" die "executable not found '$client_exe'! proxmox-backup-client or proxmox-backup-file-restore not installed?\n"
if ! -x $client_exe; if ! -x $client_exe;
my $scfg = $self->{scfg}; my $scfg = $self->{scfg};