Skip to content

Commit

Permalink
Shell: Fix broken debug logging about waiting on children
Browse files Browse the repository at this point in the history
  • Loading branch information
awesomekling committed Jan 12, 2020
1 parent 4edbceb commit 1b9f4c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Shell/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ static int run_command(const String& cmd)
#ifdef SH_DEBUG
dbgprintf("Now we gotta wait on children:\n");
for (auto& child : children)
dbgprintf(" %d\n", child);
dbgprintf(" %d (%s)\n", child.pid, child.name.characters());
#endif

int wstatus = 0;
Expand Down

0 comments on commit 1b9f4c7

Please sign in to comment.