mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 06:13:10 +02:00
...
This commit is contained in:
parent
5a792a0d6a
commit
77051cf145
1 changed files with 1 additions and 1 deletions
|
|
@ -576,7 +576,7 @@ def main():
|
|||
os.chdir(WORKDIR)
|
||||
else:
|
||||
raise
|
||||
if not singleinstance():
|
||||
if os.geteuid() == 0 and not singleinstance():
|
||||
print('Another instance of plugins-mirror is running', file=sys.stderr)
|
||||
raise SystemExit(1)
|
||||
open('log', 'w').close()
|
||||
|
|
|
|||
Loading…
Reference in a new issue