Commit 495195f6 authored by Kean Johnston's avatar Kean Johnston
Browse files

[530] Do not redirect b10-msgq STDOUT when running in verbose mode

When bind10 is run in verbose mode, as is indicated to the user by
certain error messages, do not redirect b10-msgq's STDOUT to /dev/null
so that the user can see the actual cause for startup failure.

No ChangeLog entry required.
parent b756633d
......@@ -490,7 +490,7 @@ class Init:
msgq_proc = self._make_process_info("b10-msgq", ["b10-msgq"],
True, not self.verbose)
not self.verbose, not self.verbose)
......@@ -1651,7 +1651,7 @@ class TestInitComponents(unittest.TestCase):
pi = init.start_msgq()
self.assertEqual(['b10-msgq'], pi.args)
self.assertEqual(pi.dev_null_stdout, not verbose)
self.assertEqual(pi.dev_null_stderr, not verbose)
self.assertEqual({'FOO': 'an env string'}, pi.env)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment