diff options
| author | Alan Conway <aconway@apache.org> | 2013-02-25 20:08:05 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2013-02-25 20:08:05 +0000 |
| commit | 3c09b0a8be811f899a57d62f26ab6bde3631b87f (patch) | |
| tree | 23d8fe85d2b8ca331dd35b23f19f30a30da2f821 /cpp/etc | |
| parent | 7777cf9b68d74dd3d90a9646e5afcfcb1a69dfe1 (diff) | |
| download | qpid-python-3c09b0a8be811f899a57d62f26ab6bde3631b87f.tar.gz | |
Revert "Bug 891689 - New HA regularly shutting down active node"
This reverts commit r1449832, the commit comment did not include
a QPID JIRA number. A corrected version of the commit follows...
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1449869 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/etc')
| -rwxr-xr-x | cpp/etc/qpidd-primary.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/etc/qpidd-primary.in b/cpp/etc/qpidd-primary.in index da0c0c2771..39700bead3 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 --is-primary ; then + if $QPID_HA -b localhost:$QPID_PORT status --expect=primary ; then echo "qpidd is primary" else echo "qpidd is not primary" |
