Commit 49a5b75f authored by 's avatar

Merged fix to allow numeric UID

parent 6eeb9e1f
......@@ -678,6 +678,8 @@ if MONITOR_PORT:
try:
import pwd
try:
try: UID = string.atoi(UID)
except: pass
gid = None
if type(UID) == type(""):
uid = pwd.getpwnam(UID)[2]
......
Markdown is supported
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