mirror of
git://git.proxmox.com/git/pve-zsync.git
synced 2025-01-03 09:17:37 +03:00
fix typo
This commit is contained in:
parent
148408c325
commit
3927ecdb0a
@ -107,7 +107,10 @@ sub check_pool_exists {
|
||||
my ($target) = @_;
|
||||
|
||||
my $cmd = [];
|
||||
push @$cmd, 'ssh', "root\@$target->{ip}", '--', if $target->{ip};
|
||||
|
||||
if ($target->{ip}) {
|
||||
push @$cmd, 'ssh', "root\@$target->{ip}", '--';
|
||||
}
|
||||
push @$cmd, 'zfs', 'list', '-H', '--', $target->{all};
|
||||
eval {
|
||||
run_cmd($cmd);
|
||||
|
Loading…
Reference in New Issue
Block a user