mirror of
https://github.com/open-simh/simh.git
synced 2026-01-14 23:56:22 +00:00
SCP: Fix command context reporting when errors occur in QUIET mode
This commit is contained in:
parent
3d1f092573
commit
09f69f13b5
2
scp.c
2
scp.c
@ -3140,7 +3140,7 @@ do {
|
||||
}
|
||||
if ((stat >= SCPE_BASE) && (stat != SCPE_EXIT) && /* error from cmd? */
|
||||
(stat != SCPE_STEP)) {
|
||||
if (!echo && !sim_quiet && /* report if not echoing */
|
||||
if (!echo && /* report if not echoing */
|
||||
!stat_nomessage && /* and not suppressing messages */
|
||||
!(cmdp && cmdp->message)) { /* and not handling them specially */
|
||||
sim_printf("%s> %s\n", do_position(), sim_do_ocptr[sim_do_depth]);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user