diff options
author | Ron Yorston <rmy@pobox.com> | 2018-04-05 20:41:06 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2018-04-05 20:41:06 +0100 |
commit | eda6f28c793db7d5a61ec4d8d801dfcb6def17b7 (patch) | |
tree | f0b2edea7bc9b4c795956b4297baae186ab04a21 /win32 | |
parent | f7c592f6d832602a628008d598a3aa130d89de4d (diff) | |
download | busybox-w32-eda6f28c793db7d5a61ec4d8d801dfcb6def17b7.tar.gz busybox-w32-eda6f28c793db7d5a61ec4d8d801dfcb6def17b7.tar.bz2 busybox-w32-eda6f28c793db7d5a61ec4d8d801dfcb6def17b7.zip |
ps: indicate forkshell processes in listing
Diffstat (limited to 'win32')
-rw-r--r-- | win32/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/process.c b/win32/process.c index 3219fcad4..b9168ba1d 100644 --- a/win32/process.c +++ b/win32/process.c | |||
@@ -471,7 +471,7 @@ static char *get_applet_name(DWORD pid, char *exe) | |||
471 | 471 | ||
472 | /* check that the string really is an applet name */ | 472 | /* check that the string really is an applet name */ |
473 | buffer[31] = '\0'; | 473 | buffer[31] = '\0'; |
474 | if (find_applet_by_name(buffer) >= 0) { | 474 | if (find_applet_by_name(buffer) >= 0 || !strcmp(buffer, "[sh]")) { |
475 | name = auto_string(xstrdup(buffer)); | 475 | name = auto_string(xstrdup(buffer)); |
476 | } | 476 | } |
477 | 477 | ||