diff --git a/hbd b/hbd index a3b9703..ca09f3d 100755 --- a/hbd +++ b/hbd @@ -1,5 +1,5 @@ #!/usr/bin/env python -# $Id: hbd,v 1.8 2006/01/21 17:52:27 andreas Exp $ +# $Id: hbd,v 1.9 2006/04/28 12:15:13 andreas Exp $ # Wait for heartbeat messages and act on them (or their absence) # import time, os, string, sys, socket, atexit, select, SocketServer, getopt @@ -305,7 +305,10 @@ def readsock(): log("%s shutdown" % name) hosts[name].newstate(Host.down) if interval > 0: - hosts[name].interval=interval + try: + hosts[name].interval=interval + except: + pass #