Commit e9f7e266 authored by Benjamin Baer's avatar Benjamin Baer
Browse files

More readable warnings (pkill status = 1: no process matched - not an error)

parent c0618fd5
......@@ -44,7 +44,7 @@ class LogoutUser(managementagent.RabbitModule):
elif returnCode == 1:
logger.warning("User %s not logged in", username)
self.send_reply(reply_to, returnCode, "pkill command did no matching process (%i) for user %s" % (returnCode, username))
else
else:
logger.warning("Failed to logout user %s", username)
self.send_reply(reply_to, returnCode, "Error executing pkill command (%i) for user %s" % (returnCode, username))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment