From eda6f28c793db7d5a61ec4d8d801dfcb6def17b7 Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Thu, 5 Apr 2018 20:41:06 +0100 Subject: ps: indicate forkshell processes in listing --- win32/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win32') 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) /* check that the string really is an applet name */ buffer[31] = '\0'; - if (find_applet_by_name(buffer) >= 0) { + if (find_applet_by_name(buffer) >= 0 || !strcmp(buffer, "[sh]")) { name = auto_string(xstrdup(buffer)); } -- cgit v1.2.3-55-g6feb