SCP: Avoid duplicate output when run_cmd completes just as is done in sim_printf()
This commit is contained in:
parent
4f41c53674
commit
e35081db1f
1 changed files with 2 additions and 2 deletions
4
scp.c
4
scp.c
|
@ -5950,9 +5950,9 @@ printf ("\n");
|
|||
if (unechoed_cmdline)
|
||||
sim_printf("%s> %s\n", do_position(), unechoed_cmdline);
|
||||
fprint_stopped (stdout, r); /* print msg */
|
||||
if (sim_log) /* log if enabled */
|
||||
if (sim_log && (sim_log != stdout))) /* log if enabled */
|
||||
fprint_stopped (sim_log, r);
|
||||
if (sim_deb) /* log if enabled */
|
||||
if (sim_deb && (sim_deb != stdout)) /* log if enabled */
|
||||
fprint_stopped (sim_deb, r);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue