mirror of
https://github.com/samba-team/samba.git
synced 2025-03-01 04:58:35 +03:00
tools/ctdb: Fix message in showban when node is banned
Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 5cdad2b8ebd71a5e458c301d00eac00a211feeb3)
This commit is contained in:
parent
b74c232b8a
commit
73da6c0201
@ -3107,7 +3107,8 @@ static int control_showban(struct ctdb_context *ctdb, int argc, const char **arg
|
||||
if (bantime->time == 0) {
|
||||
printf("Node %u is not banned\n", bantime->pnn);
|
||||
} else {
|
||||
printf("Node %u is banned banned for %d seconds\n", bantime->pnn, bantime->time);
|
||||
printf("Node %u is banned, %d seconds remaining\n",
|
||||
bantime->pnn, bantime->time);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user