From: Chris Koeritz Date: Fri, 12 Jun 2015 16:04:48 +0000 (-0400) Subject: fix for a comment or two that got scrambled at some point. X-Git-Tag: 2.140.90~627 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=9b3e479ca6ea9dbad13ad0573b4148f61514abfb;p=feisty_meow.git fix for a comment or two that got scrambled at some point. --- 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'