From 9b3e479ca6ea9dbad13ad0573b4148f61514abfb Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Fri, 12 Jun 2015 12:04:48 -0400 Subject: [PATCH] fix for a comment or two that got scrambled at some point. --- scripts/core/functions.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/core/functions.sh b/scripts/core/functions.sh index cdfe3279..0f185ee5 100644 --- a/scripts/core/functions.sh +++ b/scripts/core/functions.sh @@ -113,7 +113,7 @@ if [ -z "$skip_all" ]; then local PID_DUMP="$(mktemp "$TMP/zz_pidlist.XXXXXX")" local -a PIDS_SOUGHT if [ "$OS" == "Windows_NT" ]; then - # needs to be a windows format filename for 'type' to work. + # windows case has some odd gyrations to get the user list. if [ ! -d c:/tmp ]; then mkdir c:/tmp fi @@ -129,6 +129,7 @@ if [ -z "$skip_all" ]; then flag='//c' fi # we 'type' the file to get rid of the unicode result from wmic. + # needs to be a windows format filename for 'type' to work. cmd $flag type "$tmppid" >$PID_DUMP \rm "$tmppid" local appropriate_pattern='s/^.*[[:space:]][[:space:]]*\([0-9][0-9]*\) *\$/\1/p' -- 2.34.1