Just show the last level

This commit is contained in:
Arun Prakash Jana 2019-02-24 08:01:16 +05:30
parent dc6c72f294
commit 965fc2c876
No known key found for this signature in database
GPG Key ID: A75979F35C080412
1 changed files with 1 additions and 2 deletions

View File

@ -973,8 +973,7 @@ static void spawn(const char *file, const char *arg1, const char *arg2, const ch
/* Show a marker (to indicate nnn spawned shell) */
if (flag & F_MARKER && tmp)
fprintf(stdout, "\n +-++-++-+\n | n n n |\n +-++-++-+\n\n"
"Last nnn level: %d\n", xatoi(tmp));
fprintf(stdout, "\n +-++-++-+\n | n n n | %d\n +-++-++-+\n\n", xatoi(tmp));
/* Suppress stdout and stderr */
if (flag & F_NOTRACE) {