When handling CMD_CRIT error set command_errmsg to NULL after we dump it out,
so that it does not result in error message printed twice. OK load doodoo can't find 'doodoo' can't find 'doodoo' OK MFC after: 2 weeks
This commit is contained in:
parent
2847cfce54
commit
d92fb78458
@ -142,6 +142,7 @@ bf_command(FICL_VM *vm)
|
||||
switch (result) {
|
||||
case CMD_CRIT:
|
||||
printf("%s\n", command_errmsg);
|
||||
command_errmsg = NULL;
|
||||
break;
|
||||
case CMD_FATAL:
|
||||
panic("%s", command_errmsg);
|
||||
|
Loading…
Reference in New Issue
Block a user