remove extra new line with caption
* `ctime` format ends with a new line.
This commit is contained in:
parent
4d3e1e0810
commit
db2bbc4c71
1 changed files with 2 additions and 2 deletions
|
|
@ -2542,10 +2542,10 @@ static void shell_close(ShellState *s)
|
|||
else
|
||||
status = -1;
|
||||
if (status == 0) {
|
||||
snprintf(buf, sizeof(buf), "\n%s finished at %s\n",
|
||||
snprintf(buf, sizeof(buf), "\n%s finished at %s",
|
||||
s->caption, time_str);
|
||||
} else {
|
||||
snprintf(buf, sizeof(buf), "\n%s exited abnormally with code %d at %s\n",
|
||||
snprintf(buf, sizeof(buf), "\n%s exited abnormally with code %d at %s",
|
||||
s->caption, status, time_str);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue