diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2024-03-26 11:42:10 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2024-03-26 11:42:10 +0200 |
commit | acc3ef398c456c9157443200d42f11e4668fc646 (patch) | |
tree | e695db726b28f199d746df2be1c2c6e31a1432dc /bbot/agent/agent.cxx | |
parent | 6fbb94e01784b72821e976e000fe6d82bedabb66 (diff) |
Get rid of extraneous trailing blank lines in auxiliary environment value
Diffstat (limited to 'bbot/agent/agent.cxx')
-rw-r--r-- | bbot/agent/agent.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bbot/agent/agent.cxx b/bbot/agent/agent.cxx index 2de1d8b..7d734d3 100644 --- a/bbot/agent/agent.cxx +++ b/bbot/agent/agent.cxx @@ -2020,10 +2020,10 @@ start_auxiliary_machines (const vector<bootstrapped_machine*>& ams, // Add the machine name as a header before its environment. // + if (i != 0) envs += '\n'; envs += "# "; envs += tam.name; envs += '\n'; envs += "#\n"; - envs += p.second; - envs += '\n'; + envs += p.second; // Always includes trailing newline. } tm.auxiliary_environment = move (envs); |