mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #410
This commit is contained in:
parent
d70a717745
commit
ba74377e27
@ -89,7 +89,7 @@ for s, l in zip(scripts, links):
|
|||||||
os.close(fd)
|
os.close(fd)
|
||||||
os.chmod(name, 0700)
|
os.chmod(name, 0700)
|
||||||
try:
|
try:
|
||||||
pipe = auth.executeWithPrivileges(name)
|
pipe = auth.executeWithPrivileges(sys.executable, name)
|
||||||
sys.stdout.write(pipe.read())
|
sys.stdout.write(pipe.read())
|
||||||
pipe.close()
|
pipe.close()
|
||||||
except:
|
except:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user