summaryrefslogtreecommitdiff
path: root/scripts/scriptmgr.py
diff options
context:
space:
mode:
authorMarko Kreen2013-01-29 14:00:59 +0000
committerMarko Kreen2013-01-29 14:00:59 +0000
commit0ad7920674508062a594b7d648eb04efc3d0fe94 (patch)
treebff154ab66edd9a89dd2315a9b94b2981954700e /scripts/scriptmgr.py
parent73141259ea1530b6379e25c3a86f88d8b1b89674 (diff)
scriptmgr: fix copy-paste error in full_path
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: