5
0
mirror of git://git.proxmox.com/git/pve-zsync.git synced 2025-03-11 20:58:42 +03:00

remove now unnecessary if($disk)

This commit is contained in:
Wolfgang Bumiller 2015-09-28 11:40:07 +02:00 committed by Dietmar Maurer
parent 4f865f2805
commit b52d13b356

View File

@ -703,7 +703,6 @@ sub parse_disks {
die "disk is not on ZFS Storage\n";
}
if($disk) {
my $cmd = "";
$cmd .= "ssh root\@$ip " if $ip;
$cmd .= "pvesm path $stor$disk";
@ -727,7 +726,6 @@ sub parse_disks {
die "ERROR: in path\n";
}
}
}
return $disks;
}