summaryrefslogtreecommitdiff
path: root/priv/templates
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2010-12-10 17:17:46 +0100
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2010-12-10 17:17:46 +0100
commit90c5da80334eed4b97f475e1c0553567a9f14f0a (patch)
treeed38fc14792cdc4702991d3712ed516f67b828cb /priv/templates
parenta6063692b239ca15244d2af61d05d0f773df22e9 (diff)
Extract column 2 on CYGWIN
Diffstat (limited to 'priv/templates')
-rwxr-xr-xpriv/templates/simplenode.runner2
1 files changed, 1 insertions, 1 deletions
diff --git a/priv/templates/simplenode.runner b/priv/templates/simplenode.runner
index 0fb9176..cfde552 100755
--- a/priv/templates/simplenode.runner
+++ b/priv/templates/simplenode.runner
@@ -79,7 +79,7 @@ case "$1" in
;;
CYGWIN*)
# UID PID PPID TTY STIME COMMAND
- PID=`ps -efW|grep "$RUNNER_BASE_DIR/.*/[b]eam"|cut -d' ' -f1`
+ PID=`ps -efW|grep "$RUNNER_BASE_DIR/.*/[b]eam"|cut -d' ' -f2`
;;
esac
$NODETOOL stop