processes: shorten the message and remove exit code which isn't shown properly anyway.

This commit is contained in:
Marcin Kuzminski 2019-02-22 02:13:53 +01:00
parent 6c21c0cd67
commit bf2f76fa87

View file

@ -119,8 +119,7 @@ class AdminProcessManagementView(BaseAppView):
result = []
def on_terminate(proc):
msg = "process `PID:{}` terminated with exit code {}".format(
proc.pid, proc.returncode or 0)
msg = "terminated"
result.append(msg)
procs = []