summaryrefslogtreecommitdiff
path: root/src/cli_new.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli_new.c')
-rw-r--r--src/cli_new.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli_new.c b/src/cli_new.c
index 6ba3910..3498025 100644
--- a/src/cli_new.c
+++ b/src/cli_new.c
@@ -2243,7 +2243,7 @@ system_out(char *cmd, const char *prepend_msg, boolean eloc)
* underlying problem. (heck, even (1) is fugly as hell, but
* right now it's simply not feasible to look into it.)
*/
- if (prepend) {
+ if (prepend && out_stream != NULL) {
prepend = 0;
/* XXX follow original behavior */