mirror of
https://github.com/titanscouting/tra-superscript.git
synced 2024-11-13 22:56:19 +00:00
changes to stop() error reporting
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
Former-commit-id: bd77927421
This commit is contained in:
parent
1151541976
commit
e20a212bd9
@ -595,7 +595,7 @@ def stop(pid_path):
|
|||||||
if os.path.exists(pid_path):
|
if os.path.exists(pid_path):
|
||||||
os.remove(pid_path)
|
os.remove(pid_path)
|
||||||
else:
|
else:
|
||||||
print(str(err))
|
traceback.print_exc(file = stderr)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
def restart(pid_path):
|
def restart(pid_path):
|
||||||
|
Loading…
Reference in New Issue
Block a user