aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2014-11-28 13:50:29 +0100
committerAngelo Naselli <anaselli@linux.it>2014-11-28 13:50:29 +0100
commit7ab7e877335cc634038aba7943a0342e0d849b5c (patch)
tree5abc5517dd638e2923b1e4b270ba1a5f8ff8cabf
parent27bed37935370a2b4f5ad7e2d0dc99bb7e5ad687 (diff)
downloadmanatools-7ab7e877335cc634038aba7943a0342e0d849b5c.tar
manatools-7ab7e877335cc634038aba7943a0342e0d849b5c.tar.gz
manatools-7ab7e877335cc634038aba7943a0342e0d849b5c.tar.bz2
manatools-7ab7e877335cc634038aba7943a0342e0d849b5c.tar.xz
manatools-7ab7e877335cc634038aba7943a0342e0d849b5c.zip
String value for join instead of undef
-rw-r--r--lib/AdminPanel/rpmdragora.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/AdminPanel/rpmdragora.pm b/lib/AdminPanel/rpmdragora.pm
index 59dd237a..5cdf7514 100644
--- a/lib/AdminPanel/rpmdragora.pm
+++ b/lib/AdminPanel/rpmdragora.pm
@@ -244,8 +244,8 @@ sub writeconf() {
# special case:
$no_confirmation->[0] = $::rpmdragora_options{'no-confirmation'};
-
- MDK::Common::File::output($configfile, map { "$_ " . (ref ${$config{$_}{var}} ? join(' ', @${$config{$_}{var}}) : undef) . "\n" } keys %config);
+$DB::single = 1;
+ MDK::Common::File::output($configfile, map { "$_ " . (ref ${$config{$_}{var}} ? join(' ', @${$config{$_}{var}}) : '') . "\n" } keys %config);
}
sub getbanner() {