diff options
author | Tiago Salem Herrmann <salem@mandriva.com.br> | 2008-05-28 13:37:27 +0000 |
---|---|---|
committer | Tiago Salem Herrmann <salem@mandriva.com.br> | 2008-05-28 13:37:27 +0000 |
commit | 5a2a85f442a06b019baa2bb71ff069b49387affc (patch) | |
tree | 642b00b2eb6a8061ba5eb7dcae77414b382dfa2f /perl-install | |
parent | 240ee3a7378d3fb8f6c76b7656c7462c9feb1754 (diff) | |
download | drakx-5a2a85f442a06b019baa2bb71ff069b49387affc.tar drakx-5a2a85f442a06b019baa2bb71ff069b49387affc.tar.gz drakx-5a2a85f442a06b019baa2bb71ff069b49387affc.tar.bz2 drakx-5a2a85f442a06b019baa2bb71ff069b49387affc.tar.xz drakx-5a2a85f442a06b019baa2bb71ff069b49387affc.zip |
- fix LOGNAME to be able to use a running firefox instance to fill a bug #31109
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/run_program.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/run_program.pm b/perl-install/run_program.pm index c75c4d6bb..0f84b9087 100644 --- a/perl-install/run_program.pm +++ b/perl-install/run_program.pm @@ -111,7 +111,7 @@ sub raw { } else { if ($options->{setuid}) { require POSIX; - $ENV{'LOGNAME'} = $options->{setuid} || $ENV{LOGNAME}; + $ENV{'LOGNAME'} = getpwuid($options->{setuid}) || $ENV{LOGNAME}; POSIX::setuid($options->{setuid}); } |