summaryrefslogtreecommitdiff
path: root/cpp/etc/qpidd-primary.in
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/etc/qpidd-primary.in')
-rwxr-xr-xcpp/etc/qpidd-primary.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/etc/qpidd-primary.in b/cpp/etc/qpidd-primary.in
index 39700bead3..da0c0c2771 100755
--- a/cpp/etc/qpidd-primary.in
+++ b/cpp/etc/qpidd-primary.in
@@ -57,7 +57,7 @@ if [[ !(-x $QPID_HA) ]]; then
fi
status() {
- if $QPID_HA -b localhost:$QPID_PORT status --expect=primary ; then
+ if $QPID_HA -b localhost:$QPID_PORT status --is-primary ; then
echo "qpidd is primary"
else
echo "qpidd is not primary"