folowup: fix whitespace errors and s/and/&&/ for consistency

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht
2018-11-09 15:27:06 +01:00
parent 5b4b715771
commit 8b6b710265

View File

@ -259,7 +259,7 @@ __PACKAGE__->register_method ({
$cur = pop @$stack; $cur = pop @$stack;
push @{$cur->{children}}, $vdev; push @{$cur->{children}}, $vdev;
} else { } else {
while ($lvl <= $cur->{lvl} and $cur->{lvl} != 0) { while ($lvl <= $cur->{lvl} && $cur->{lvl} != 0) {
$cur = pop @$stack; $cur = pop @$stack;
} }
push @{$cur->{children}}, $vdev; push @{$cur->{children}}, $vdev;