changes to stop() error reporting

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
Arthur Lu 2021-10-13 19:11:27 +00:00
parent 3f32104c72
commit bd77927421

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):