[PATCH] CTDB - "ctdb scriptstatus" should not count disabled scripts
martin at meltin.net
Fri May 16 02:43:41 MDT 2014
script_status->num_scripts is used as the count in this message:
"%d scripts were executed last %s cycle\n"
However, script_status->num_scripts includes disabled scripts, which
are never actually executed.
Instead, count the number of scripts that aren't disabled and make the
message print that.
Please review and push if OK.
This patch is in my ctdb branch:
peace & happiness,
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1360 bytes
Desc: not available
More information about the samba-technical