Fix chown args

This commit is contained in:
Oleksii Shevchuk 2017-05-15 09:43:28 +03:00
parent 3f4cfd5bd4
commit 2450e9e3e5
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ def prepare(suid, slave):
try:
if slave:
path = os.ttyname(slave)
os.chown(path, suid)
os.chown(path, suid, sgid)
except:
pass