tools/ctdb: Remove extra header from natgwlist -Y output
authorMartin Schwenke <martin@meltin.net>
Thu, 11 Oct 2012 04:49:13 +0000 (15:49 +1100)
committerMartin Schwenke <martin@meltin.net>
Thu, 18 Oct 2012 09:05:42 +0000 (20:05 +1100)
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 59520c9785d113ad5063eb5fbe42a9efc7e30076)

ctdb/tools/ctdb.c

index e75a92239f7da32a93d87dd6ce91678e450e8cc9..9a12d1b7fb6d723f34b35af7d0e0512e338d4835 100644 (file)
@@ -1106,10 +1106,6 @@ static int control_natgwlist(struct ctdb_context *ctdb, int argc, const char **a
                i++;
        }
 
-       if (options.machinereadable) {
-               printf(":Node:IP:\n");
-       }
-
        ret = 2; /* matches ENOENT */
        pnn = -1;
        ip = "0.0.0.0";