X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/6db7ad74f61eeaae0c8ecb08d483599d9d80c53f..fd8f11bf779cb757b6033ad6ad3b4fd8f5c63397:/scripts/kconfig.pl diff --git a/scripts/kconfig.pl b/scripts/kconfig.pl index 53b8f1102..181b35ad4 100755 --- a/scripts/kconfig.pl +++ b/scripts/kconfig.pl @@ -72,7 +72,7 @@ sub config_diff($$) { my %config; foreach my $config (keys %$cfg2) { - if (!$cfg1->{$config} or $cfg1->{$config} ne $cfg2->{$config}) { + if (!defined($cfg1->{$config}) or $cfg1->{$config} ne $cfg2->{$config}) { $config{$config} = $cfg2->{$config}; } }