summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install/install2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install/install2.pm b/perl-install/install/install2.pm
index 652598b97..223c46adb 100644
--- a/perl-install/install/install2.pm
+++ b/perl-install/install/install2.pm
@@ -320,7 +320,7 @@ sub main {
my ($cfg, $patch, @auto);
my %cmdline = map {
my ($n, $v) = split /=/;
- $n => $v || 1;
+ $n => defined($v) ? $v : 1;
} split ' ', cat_("/proc/cmdline");
my $opt; foreach (@_) {