Skip to content

Commit

Permalink
bsc#1176645 - Running Yast2 Mail multiple times creates excess bracke…
Browse files Browse the repository at this point in the history
…ts in postfix configuration
  • Loading branch information
Peter Varkoly committed Sep 30, 2020
1 parent 1404bbd commit 004ae44
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/include/mail/ui.rb
Expand Up @@ -989,7 +989,9 @@ def OutgoingAuthOptions
config = Builtins.add(config, "password", "")
end

UI.ChangeWidget(Id(:server), :Value, Ops.get_string(config, "server", ""))
server = Ops.get_string(config, "server", "")
server.delete!("[]")
UI.ChangeWidget(Id(:server), :Value, server)
UI.ChangeWidget(Id(:user), :Value, Ops.get_string(config, "user", ""))
UI.ChangeWidget(
Id(:passw),
Expand Down
2 changes: 1 addition & 1 deletion src/servers_non_y2/setup_dkim_verifying.pl
Expand Up @@ -187,4 +187,4 @@
}
}

$msc->wramavisiteMasterCF();
$msc->writeMasterCF();

0 comments on commit 004ae44

Please sign in to comment.