summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/diskdrake
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-07-24 10:23:21 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-07-24 10:23:21 +0000
commit7e5672eb837597a08dc886dc022f704be9b97665 (patch)
tree51aba798e9eb6501aa32cc1cfdbf4d759a031b3b /perl-install/standalone/diskdrake
parent5d8a5663900537c6695f08692920d666f5ec9213 (diff)
downloaddrakx-backup-do-not-use-7e5672eb837597a08dc886dc022f704be9b97665.tar
drakx-backup-do-not-use-7e5672eb837597a08dc886dc022f704be9b97665.tar.gz
drakx-backup-do-not-use-7e5672eb837597a08dc886dc022f704be9b97665.tar.bz2
drakx-backup-do-not-use-7e5672eb837597a08dc886dc022f704be9b97665.tar.xz
drakx-backup-do-not-use-7e5672eb837597a08dc886dc022f704be9b97665.zip
generalize the use of chomp_ as the functional alternative to chomp (and works on lists)
Diffstat (limited to 'perl-install/standalone/diskdrake')
-rwxr-xr-xperl-install/standalone/diskdrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/diskdrake b/perl-install/standalone/diskdrake
index 57a6045a0..7bf80d398 100755
--- a/perl-install/standalone/diskdrake
+++ b/perl-install/standalone/diskdrake
@@ -68,7 +68,7 @@ my ($hds, $lvms) =
I'll try to go on blanking bad partitions"), $err]);
};
-$SIG{__DIE__} = sub { chomp (my $m = $_[0]); log::l("ERROR: $m") };
+$SIG{__DIE__} = sub { my $m = chomp_($_[0]); log::l("ERROR: $m") };
my $fstab = [ fsedit::get_fstab(@$hds, @$lvms) ];
fs::get_mntpoints_from_fstab($fstab);