diff options
-rw-r--r-- | rpmdrake.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm index 1ca9bae4..338b11fd 100644 --- a/rpmdrake.pm +++ b/rpmdrake.pm @@ -174,7 +174,7 @@ sub readconf() { sub writeconf() { unlink $configfile; - output $configfile, map { "$_ " . join(' ', @${$config{$_}{var}}) . "\n" } keys %config; + output $configfile, map { "$_ " . (ref ${$config{$_}{var}} ? join(' ', @${$config{$_}{var}}) : ()) . "\n" } keys %config; } sub getbanner() { |