summaryrefslogtreecommitdiff
path: root/src/shell_manager.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2013-02-27 21:31:48 +0100
committerMaxime Coste <frrrwww@gmail.com>2013-02-27 21:31:48 +0100
commit8e07e00f18a938a1645b9e42ff3f2e4ee7b17fa4 (patch)
treec6f81a1c0fe0a895b2a2ea25ddd29ad757af2b9b /src/shell_manager.cc
parent72531f2df0979ed6894e2b20b0188af393907d09 (diff)
ShellManager: remove unneeded end of lines when writing stderr
Diffstat (limited to 'src/shell_manager.cc')
-rw-r--r--src/shell_manager.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/shell_manager.cc b/src/shell_manager.cc
index 5a6e48a9..31a9d4c2 100644
--- a/src/shell_manager.cc
+++ b/src/shell_manager.cc
@@ -65,9 +65,7 @@ String ShellManager::pipe(const String& input,
}
close(error_pipe[0]);
if (not errorout.empty())
- {
- write_debug("\nshell stderr: <<<\n" + errorout + ">>>\n");
- }
+ write_debug("shell stderr: <<<\n" + errorout + ">>>");
waitpid(pid, NULL, 0);
}