mirror of
https://github.com/simh/simh.git
synced 2026-02-11 02:31:35 +00:00
SCP: Fix command context reporting when errors occur in QUIET mode
This commit is contained in:
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]);
|
||||
|
||||
Reference in New Issue
Block a user