summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpriv/templates/simplenode.runner4
1 files changed, 2 insertions, 2 deletions
diff --git a/priv/templates/simplenode.runner b/priv/templates/simplenode.runner
index 023f7a4..36db59e 100755
--- a/priv/templates/simplenode.runner
+++ b/priv/templates/simplenode.runner
@@ -69,12 +69,12 @@ case "$1" in
case `uname -s` in
Linux|Darwin|FreeBSD|DragonFly|NetBSD|OpenBSD)
# PID COMMAND
- PID=`ps ax -o pid -o command|\
+ PID=`ps ax -o pid= -o command=|\
grep "$RUNNER_BASE_DIR/.*/[b]eam.smp"|awk '{print $1}'`
;;
SunOS)
# PID COMMAND
- PID=`ps -ef -o pid -o args|\
+ PID=`ps -ef -o pid= -o args=|\
grep "$RUNNER_BASE_DIR/.*/[b]eam.smp"|awk '{print $1}'`
;;
CYGWIN*)