summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/stdio-frontend.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1/stdio-frontend.c')
-rw-r--r--mdk-stage1/stdio-frontend.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/mdk-stage1/stdio-frontend.c b/mdk-stage1/stdio-frontend.c
index ae7a57af1..8f8b68c17 100644
--- a/mdk-stage1/stdio-frontend.c
+++ b/mdk-stage1/stdio-frontend.c
@@ -87,6 +87,7 @@ void error_message(char *msg, ...)
va_start(args, msg);
va_end(args);
blocking_msg("> Error! ", msg, args);
+ set_param(MODE_AUTOMATIC_ERROR_OCCURED);
}
void info_message(char *msg, ...)
@@ -94,7 +95,10 @@ void info_message(char *msg, ...)
va_list args;
va_start(args, msg);
va_end(args);
- blocking_msg("> Notice: ", msg, args);
+ if (!IS_AUTOMATIC)
+ blocking_msg("> Notice: ", msg, args);
+ else
+ vlog_message(msg, args);
}
void wait_message(char *msg, ...)