From 089bb1ff9522bab4a8b1bede764e0605cb7a4203 Mon Sep 17 00:00:00 2001 From: Zader Zheng Date: Fri, 17 Apr 2015 23:09:17 +0800 Subject: kill a AF_UNIX left behind --- lab_monitor_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lab_monitor_server.py b/lab_monitor_server.py index 6a11da6..4f1439b 100644 --- a/lab_monitor_server.py +++ b/lab_monitor_server.py @@ -137,7 +137,7 @@ def cmd_shutdown(): global is_exiting, cmd_socket, local_socket_address, cmd is_exiting.set(); cmd_socket.close() - socket(AF_UNIX).connect(local_socket_address) + socket(AF_INET).connect(local_socket_address) cmd.join() class AJAXHandler(RequestHandler): -- cgit v1.2.3-70-g09d2