mirror of
https://github.com/dbarzin/pandora-box.git
synced 2025-07-18 21:09:41 +02:00
protect exec pandora
This commit is contained in:
parent
04f935070f
commit
8572cf795c
2 changed files with 2 additions and 1 deletions
|
@ -842,6 +842,7 @@ def get_lock(process_name):
|
|||
|
||||
except socket.error:
|
||||
print('Pandora-box is already running !', file=sys.stderr)
|
||||
os.execvp('/usr/bin/bash',['/usr/bin/bash'])
|
||||
sys.exit()
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue