Eventscripts - ctdb_check_tcp_ports() only prints netstat output if debugging
authorMartin Schwenke <martin@meltin.net>
Wed, 17 Aug 2011 00:27:01 +0000 (10:27 +1000)
committerMartin Schwenke <martin@meltin.net>
Wed, 17 Aug 2011 00:39:54 +0000 (10:39 +1000)
commit44c14aeeb11080980fe07c7396d06843a4870747
tree943ee3d32b7fdc9df7e96eaf007cea179b05d54b
parent571865eb6ef847857129d0b1e2ba5fa7254bfe8c
Eventscripts - ctdb_check_tcp_ports() only prints netstat output if debugging

Use the new debug function to conditionally print the netstat output.

Signed-off-by: Martin Schwenke <martin@meltin.net>
config/functions