summaryrefslogtreecommitdiff
path: root/scripts/scriptmgr.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/scriptmgr.py')
-rwxr-xr-xscripts/scriptmgr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/scriptmgr.py b/scripts/scriptmgr.py
index e62b0642..9e975431 100755
--- a/scripts/scriptmgr.py
+++ b/scripts/scriptmgr.py
@@ -95,7 +95,7 @@ def full_path(job, fn):
# find home
if user:
- home = pwd.getpwuid(os.getuid()).pw_dir
+ home = pwd.getpwnam(user).pw_dir
elif 'HOME' in os.environ:
home = os.environ['HOME']
else: