clean up a msg
This commit is contained in:
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
# $Id: watcharnsberg,v 1.2 2005/02/27 16:41:40 andreas Exp $
|
# $Id: watcharnsberg,v 1.3 2005/05/06 14:33:30 andreas Exp $
|
||||||
# Wait for heartbeat messages and act on them (or their absence)
|
# Wait for heartbeat messages and act on them (or their absence)
|
||||||
#
|
#
|
||||||
import time, os, string, sys, socket, curses, atexit, select
|
import time, os, string, sys, socket, curses, atexit, select
|
||||||
@@ -280,7 +280,7 @@ def readsock():
|
|||||||
if boot:
|
if boot:
|
||||||
log("%s booted" % name)
|
log("%s booted" % name)
|
||||||
if msg:
|
if msg:
|
||||||
log("%s msg: %s" % (name, msg),service=service)
|
log("%s %s" % (name, msg),service=service)
|
||||||
fromaddr(name, addr[0], boot)
|
fromaddr(name, addr[0], boot)
|
||||||
if shutdown:
|
if shutdown:
|
||||||
log("%s shutdown" % name)
|
log("%s shutdown" % name)
|
||||||
|
|||||||
Reference in New Issue
Block a user