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 | 242d8406759d1a2c20901c8ca083b7bb732d75d5 (patch) | |
| tree | 0c67a443f4ea7a328ce5332cc70e84714b461c02 /qpid/cpp/etc | |
| parent | 6638cf0898c9680a44eb8d4d10c0b64d61b12fe0 (diff) | |
| download | qpid-python-242d8406759d1a2c20901c8ca083b7bb732d75d5.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@1449869 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/etc')
| -rwxr-xr-x | qpid/cpp/etc/qpidd-primary.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/etc/qpidd-primary.in b/qpid/cpp/etc/qpidd-primary.in index da0c0c2771..39700bead3 100755 --- a/qpid/cpp/etc/qpidd-primary.in +++ b/qpid/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" |
