X-Git-Url: https://git.realraum.at/?a=blobdiff_plain;f=update-xmpp-status.py;h=61615e6ebdf6767252bf1741629b5aa9d7c42985;hb=b654506283c4f625e5ade66e2bc5eb22ad4d1545;hp=24aef047b6e8425b1411f868ab5ad9b2fbdae671;hpb=d202543c302db6558f51f9d514488e599ae60ba6;p=svn42.git diff --git a/update-xmpp-status.py b/update-xmpp-status.py index 24aef04..61615e6 100755 --- a/update-xmpp-status.py +++ b/update-xmpp-status.py @@ -283,6 +283,9 @@ while True: uwscfg.checkConfigUpdates() + if line == "": + raise Exception("EOF on Socket, daemon seems to have quit") + m = RE_STATUS.match(line) if not m is None: status = m.group(1) @@ -309,4 +312,3 @@ while True: conn=None sockhandle=None time.sleep(5) -