1 diff --git a/pacpl.in b/pacpl.in 2 index 5c28750..436e140 100644 3 --- a/pacpl.in 4 +++ b/pacpl.in 5 @@ -175,7 +175,7 @@ if ($conf_file and -e $conf_file) { 6 foreach (@conf_opts) { 7 chomp; 8 my ($k, $v) = split(/\s*=\s*/); 9 - $config{$k} = $v if exists($config{$k}) and $v; 10 + $config{$k} = $v if exists($config{$k}) and length($v); 11 say "$lang{debug} $k = $v" if $debug == 1 and exists($config{$k}); 12 } 13 }