mirror of
https://github.com/titanscouting/tra-superscript.git
synced 2024-11-10 06:54:45 +00:00
changes to stop() error reporting
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
parent
3f32104c72
commit
bd77927421
@ -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