changes to stop() error reporting

Signed-off-by: Arthur Lu <learthurgo@gmail.com>

Former-commit-id: bd77927421
This commit is contained in:
Arthur Lu 2021-10-13 19:11:27 +00:00
parent 1151541976
commit e20a212bd9

View File

@ -595,7 +595,7 @@ def stop(pid_path):
if os.path.exists(pid_path):
os.remove(pid_path)
else:
print(str(err))
traceback.print_exc(file = stderr)
sys.exit(1)
def restart(pid_path):