mirror of
git://git.proxmox.com/git/pve-zsync.git
synced 2024-12-22 21:33:48 +03:00
cleanup: minor code deduplication
This commit is contained in:
parent
0cb441cbe0
commit
44408b4a3a
@ -791,12 +791,9 @@ sub parse_disks {
|
||||
last;
|
||||
}
|
||||
}
|
||||
if (!defined($disk) || !defined($stor)) {
|
||||
print "Disk: \"$line\" has no valid zfs dataset format and will not include in pve-sync\n";
|
||||
next;
|
||||
}
|
||||
} else {
|
||||
print "Disk: \"$line\" has no valid zfs dataset format and will not include in pve-sync\n";
|
||||
}
|
||||
if (!defined($disk) || !defined($stor)) {
|
||||
print "Disk: \"$line\" has no valid zfs dataset format and will be skipped\n";
|
||||
next;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user