summaryrefslogtreecommitdiff
path: root/cpp/src/tests/ais_check
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-06-18 17:53:30 +0000
committerAlan Conway <aconway@apache.org>2008-06-18 17:53:30 +0000
commit9bf82c2c8c45a5228643a285f8db0b1061a69ad9 (patch)
treed38be99fcb793712c2a2b5fb56dcbbb8294ff818 /cpp/src/tests/ais_check
parent02757b560356e0ddb090fbe103e0b65db6dbd3b3 (diff)
downloadqpid-python-9bf82c2c8c45a5228643a285f8db0b1061a69ad9.tar.gz
Bring cluster code up to date.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@669236 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/ais_check')
-rwxr-xr-xcpp/src/tests/ais_check4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/tests/ais_check b/cpp/src/tests/ais_check
index ae0edf88c1..344f15a94e 100755
--- a/cpp/src/tests/ais_check
+++ b/cpp/src/tests/ais_check
@@ -2,7 +2,7 @@
# Check for requirements, run AIS tests if found.
#
-id -nG | grep '\<ais\>' || \
+id -nG | grep '\<ais\>' >/dev/null || \
NOGROUP="You are not a member of the ais group."
ps -u root | grep aisexec >/dev/null || \
NOAISEXEC="The aisexec daemon is not running as root"
@@ -24,4 +24,4 @@ EOF
exit 0; # A warning, not a failure.
fi
-echo ./ais_run | newgrp ais
+echo `dirname $0`/ais_run | newgrp ais