From 90c5da80334eed4b97f475e1c0553567a9f14f0a Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Fri, 10 Dec 2010 17:17:46 +0100 Subject: Extract column 2 on CYGWIN --- priv/templates/simplenode.runner | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'priv') 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 -- cgit v1.1