From 51d6259470fb1d02503a2c0de2c806026d87c396 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 4 Dec 2002 14:25:49 +0000 Subject: use if_() where possible (as reported by perl_checker) --- perl-install/fs.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/fs.pm') diff --git a/perl-install/fs.pm b/perl-install/fs.pm index cd78bbe69..7ad3d0949 100644 --- a/perl-install/fs.pm +++ b/perl-install/fs.pm @@ -579,7 +579,7 @@ sub real_format_part { my $dev = $part->{real_device} || $part->{device}; - my @options = $part->{toFormatCheck} ? "-c" : (); + my @options = if_($part->{toFormatCheck}, "-c"); log::l("formatting device $dev (type ", type2name($part->{type}), ")"); if (isExt2($part)) { -- cgit v1.2.1