mirror of
https://github.com/schoebel/mars
synced 2024-12-17 04:05:03 +00:00
marsadm: fix wrong minimum computation in resize
This commit is contained in:
parent
380a38a903
commit
a9e7affde5
@ -756,7 +756,7 @@ sub resize_res {
|
||||
my $min_size = 0;
|
||||
foreach my $actsize (@actsizes) {
|
||||
my $this_size = readlink($actsize) or die "cannot read symlink '$actsize'\n";
|
||||
if (!$min_size || $min_size < $this_size) {
|
||||
if (!$min_size || $this_size < $min_size) {
|
||||
$min_size = $this_size;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user