onnode: fix natgwlist nodespec
authorMartin Schwenke <martin@meltin.net>
Mon, 23 May 2011 05:33:12 +0000 (15:33 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Wed, 8 Jun 2011 04:23:56 +0000 (14:23 +1000)
commitbfffe067a8152145ef54482dccb49529c6a4827f
tree7adbaec1a466b18816187374a3eb44d759dd244b
parentd7ab0958609264df36b7db5591d7013c0d9f95d2
onnode: fix natgwlist nodespec

This hasn't worked for a while if ever.

We treat this case specially because the output has 2 works on the 1st
line.  We also handle the error case where /etc/ctdb_natgw_nodes
exists but none of the other $NATGW_* configuration is done.

Signed-off-by: Martin Schwenke <martin@meltin.net>
tools/onnode