sync
This commit is contained in:
parent
14aadf6eda
commit
a3cb2010ab
@ -71,6 +71,7 @@ class remoteManager():
|
|||||||
self.sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
|
self.sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
|
||||||
self.sock.bind(socketpath)
|
self.sock.bind(socketpath)
|
||||||
self.sock.listen(1)
|
self.sock.listen(1)
|
||||||
|
if not self.env['runtime']['settingsManager'].getSetting('screen', 'driver') =='vcsaDriver':
|
||||||
os.chmod(socketpath, 0o222)
|
os.chmod(socketpath, 0o222)
|
||||||
while active.value == 1:
|
while active.value == 1:
|
||||||
client_sock, client_addr = self.sock.accept()
|
client_sock, client_addr = self.sock.accept()
|
||||||
|
Loading…
Reference in New Issue
Block a user