diff --git a/nshlib/nsh_proccmds.c b/nshlib/nsh_proccmds.c index 8b3d88e7f69..859d0b808b3 100644 --- a/nshlib/nsh_proccmds.c +++ b/nshlib/nsh_proccmds.c @@ -694,6 +694,8 @@ int cmd_pidof(FAR struct nsh_vtbl_s *vtbl, int argc, FAR char **argv) nsh_output(vtbl, "%d ", pids[i]); } + nsh_output(vtbl, "\n"); + return OK; } #endif