]> git.proxmox.com Git - pmg-api.git/commitdiff
write_pmg_domains: use correct format for postfix hash table
authorDietmar Maurer <dietmar@proxmox.com>
Sat, 25 Feb 2017 15:13:45 +0000 (16:13 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Sat, 25 Feb 2017 15:13:45 +0000 (16:13 +0100)
PMG/Config.pm

index 1c6eb661c810b857943734b9adbcaa94d5b642de..9dc0a058edf985103fee38f3aa0650cfca129abf 100755 (executable)
@@ -673,7 +673,7 @@ sub write_pmg_domains {
     my ($filename, $fh, $domain) = @_;
 
     foreach my $domain (sort @$domain) {
-       PVE::Tools::safe_print($filename, $fh, "$domain\n");
+       PVE::Tools::safe_print($filename, $fh, "$domain 1\n");
     }
 }