mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
Add a -Y machinereadable flag to "lvsmaster"
(This used to be ctdb commit bbae698656d5da9a4a5b0fbfc3003844f246d54b)
This commit is contained in:
parent
1ee122e165
commit
54a5e6c0c8
@ -1876,7 +1876,11 @@ static int control_lvsmaster(struct ctdb_context *ctdb, int argc, const char **a
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (options.machinereadable){
|
||||||
|
printf("%d\n", i);
|
||||||
|
} else {
|
||||||
printf("Node %d is LVS master\n", i);
|
printf("Node %d is LVS master\n", i);
|
||||||
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user