Commit 49a5b75f authored by 's avatar

Merged fix to allow numeric UID

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