summaryrefslogtreecommitdiffstats
path: root/perl-install/raid.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/raid.pm')
-rw-r--r--perl-install/raid.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/raid.pm b/perl-install/raid.pm
index a9a493f7a..8bce51b15 100644
--- a/perl-install/raid.pm
+++ b/perl-install/raid.pm
@@ -44,7 +44,7 @@ sub delete($$) {
$nb = nb($nb);
delete $_->{raid} foreach @{$raid->[$nb]{disks}};
- $raid->[$nb] = undef;
+ undef $raid->[$nb];
}
sub changeNb($$$) {