summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/partition_table.pm')
-rw-r--r--perl-install/partition_table.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/partition_table.pm b/perl-install/partition_table.pm
index c9428b006..a386630e0 100644
--- a/perl-install/partition_table.pm
+++ b/perl-install/partition_table.pm
@@ -792,8 +792,8 @@ sub load {
sub save {
my ($hd, $file) = @_;
my @h = @{$hd}{@fields2save};
- local *F;
require Data::Dumper;
+ local *F;
open F, ">$file"
and print F Data::Dumper->Dump([\@h], ['$h']), "\0"
or die N("Error writing to file %s", $file);