1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00
svn path=/nixpkgs/branches/kernel-config/; revision=18944
This commit is contained in:
Eelco Dolstra 2009-12-14 18:30:52 +00:00
parent a6d31beba7
commit ec2fd60f88

View file

@ -130,7 +130,6 @@ close CONFIG;
foreach my $name (sort (keys %answers)) {
my $f = $requiredAnswers{$name} && $ENV{'ignoreConfigErrors'} ne "1"
? sub { die @_; } : sub { warn @_; };
my $f = sub { warn @_; };
&$f("unused option: $name\n") unless defined $config{$name};
&$f("option not set correctly: $name\n")
if $config{$name} && $config{$name} ne $answers{$name};