X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=installcheck%2FInstallcheck%2FConfig.pm;h=d9b4a7df87c979936cac502ba2ec2aeb0f4eb217;hb=refs%2Fheads%2Fupstream;hp=cf69801da98162b1aedbcf768368626a5b3a005d;hpb=949b8910a5e23c4285d0b1aedacfc82a14dc97a5;p=debian%2Famanda diff --git a/installcheck/Installcheck/Config.pm b/installcheck/Installcheck/Config.pm index cf69801..d9b4a7d 100644 --- a/installcheck/Installcheck/Config.pm +++ b/installcheck/Installcheck/Config.pm @@ -1,9 +1,10 @@ # vim:ft=perl # Copyright (c) 2008-2012 Zmanda, Inc. All Rights Reserved. # -# This program is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License version 2 as published -# by the Free Software Foundation. +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY @@ -435,8 +436,10 @@ sub _write_amanda_conf_subsection { $value = shift @values; if ($param eq "inherit") { print $amanda_conf "$value\n"; - } else { + } elsif (defined $value) { print $amanda_conf "$param $value\n"; + } else { + print $amanda_conf "$param\n"; } } print $amanda_conf "}\n";