typo & whitespace fixes

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2021-12-02 14:50:07 +01:00
parent f29113a862
commit 903d29f84d
1 changed files with 2 additions and 2 deletions

View File

@ -661,7 +661,7 @@ sub finalize {
} elsif ($compressor =~ /^\s*--(?:gz|gzip)\s*$/) { } elsif ($compressor =~ /^\s*--(?:gz|gzip)\s*$/) {
$use_zstd = 0; # just boolean for now.. $use_zstd = 0; # just boolean for now..
} else { } else {
die "unkown compressor '$compressor'!\n"; die "finalize: unknown compressor '$compressor'!\n";
} }
} }
@ -691,7 +691,7 @@ sub finalize {
$self->logmsg ("creating final appliance archive\n"); $self->logmsg ("creating final appliance archive\n");
my $compressor_ext = $use_zstd ? 'zst' : 'gz'; my $compressor_ext = $use_zstd ? 'zst' : 'gz';
my $target = "$self->{targetname}.tar"; my $target = "$self->{targetname}.tar";
unlink $target; unlink $target;