about summary refs log tree commit diff stats
path: root/src/HTAlert.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/HTAlert.c')
-rw-r--r--src/HTAlert.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/HTAlert.c b/src/HTAlert.c
index 21dfd04c..2c59b206 100644
--- a/src/HTAlert.c
+++ b/src/HTAlert.c
@@ -50,6 +50,13 @@ void HTAlert(const char *Msg)
     _user_message(ALERT_FORMAT, Msg);
     LYstore_message2(ALERT_FORMAT, Msg);
 
+    if (dump_output_immediately && dump_to_stderr) {
+	fflush(stdout);
+	fprintf(stderr, ALERT_FORMAT, Msg);
+	fputc('\n', stderr);
+	fflush(stderr);
+    }
+
     LYSleepAlert();
 }