X-Git-Url: https://git.realraum.at/?a=blobdiff_plain;f=update-xmpp-status.py;h=61615e6ebdf6767252bf1741629b5aa9d7c42985;hb=693e1baac36db0445c93764c80af3d7040e3a1f9;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) -