summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2014-05-06 11:08:57 +1000
committerAmitay Isaacs <amitay@samba.org>2014-05-28 02:27:48 +0200
commitc1deb87fb78b84a551ad8dc1004247d8a836f9bc (patch)
treeb5a6c9621e2c4f23cab2dcb66ed9ff80bff8d17a /python
parentf1d4b274eee4e36731c37dc218b3c4aec8842c87 (diff)
downloadsamba-c1deb87fb78b84a551ad8dc1004247d8a836f9bc.tar.gz
samba-c1deb87fb78b84a551ad8dc1004247d8a836f9bc.tar.xz
samba-c1deb87fb78b84a551ad8dc1004247d8a836f9bc.zip
ctdb-tools-ctdb: scriptstatus should not count disabled scripts
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. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com> Autobuild-User(master): Amitay Isaacs <amitay@samba.org> Autobuild-Date(master): Wed May 28 02:27:48 CEST 2014 on sn-devel-104
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions