From ecc684a0eb131b59f5afd6f67c63cdeec8b015bd Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 22 Sep 2003 14:20:36 +0000 Subject: fix error message --- perl-install/fs.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/fs.pm b/perl-install/fs.pm index 8f7b45809..e75e855db 100644 --- a/perl-install/fs.pm +++ b/perl-install/fs.pm @@ -560,7 +560,7 @@ sub format_ext2($@) { my ($dev, @options) = @_; $dev =~ m,(rd|ida|cciss)/, and push @options, qw(-b 4096 -R stride=16); #- For RAID only. push @options, qw(-b 1024 -O none) if arch() =~ /alpha/; - run_program::raw({ timeout => 60 * 60 }, 'mke2fs', '-F', @options, devices::make($dev)) or die \N("%s formatting of %s failed", any { $_ eq '-j' } @options ? "ext3" : "ext2", $dev); + run_program::raw({ timeout => 60 * 60 }, 'mke2fs', '-F', @options, devices::make($dev)) or die \N("%s formatting of %s failed", (any { $_ eq '-j' } @options) ? "ext3" : "ext2", $dev); } sub format_ext3 { my ($dev, @options) = @_; -- cgit v1.2.1