summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-09-17 15:32:33 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-09-17 15:32:33 +0000
commit71e6536c60db22dad46b6944c94de837d350852e (patch)
tree4a3779a9ee6bed03372cdfdc5d4b7a281a0d7247 /perl-install
parent6ec4696b1a06ee022efef43ad2d9142906c05e55 (diff)
downloaddrakx-71e6536c60db22dad46b6944c94de837d350852e.tar
drakx-71e6536c60db22dad46b6944c94de837d350852e.tar.gz
drakx-71e6536c60db22dad46b6944c94de837d350852e.tar.bz2
drakx-71e6536c60db22dad46b6944c94de837d350852e.tar.xz
drakx-71e6536c60db22dad46b6944c94de837d350852e.zip
allow use_uuid=0
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 (@_) {