1
0
Fork 0
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:
dbarzin 2023-03-08 15:59:39 +01:00
parent 04f935070f
commit 8572cf795c
2 changed files with 2 additions and 1 deletions

View file

@ -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()