Commit 70cdc020 authored by Barry Warsaw's avatar Barry Warsaw

shutdown_zeo_server(): Fix UnboundLocalError if ECONNRESET was raised

parent af21bded
......@@ -107,5 +107,6 @@ def shutdown_zeo_server(adminaddr):
ack = s.recv(1024)
except socket.error, e:
if e[0] <> errno.ECONNRESET: raise
ack = 'no ack received'
zLOG.LOG('shutdownServer', zLOG.DEBUG, 'acked: %s' % ack)
s.close()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment