summaryrefslogtreecommitdiffstats
path: root/perl-install/fs.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/fs.pm')
-rw-r--r--perl-install/fs.pm2
1 files changed, 1 insertions, 1 deletions
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)) {