summaryrefslogtreecommitdiff
path: root/parabolaweb-changepassword.real.in
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-06-24 17:50:53 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-06-24 17:50:53 -0400
commit8c9db937b42e819ab604069f0f883762a3b6d4bf (patch)
treeb7b1de837b141c27db944bcbc48dce5792535015 /parabolaweb-changepassword.real.in
parent68116faceb731829569ab4f2e21d2c62682107ef (diff)
Diffstat (limited to 'parabolaweb-changepassword.real.in')
-rw-r--r--parabolaweb-changepassword.real.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/parabolaweb-changepassword.real.in b/parabolaweb-changepassword.real.in
index e2f6437..07499e8 100644
--- a/parabolaweb-changepassword.real.in
+++ b/parabolaweb-changepassword.real.in
@@ -27,8 +27,8 @@ main() {
[[ -e "${WEBDIR}/manage.py" ]]
[[ -n "${WEBUSER}" ]]
- REAL_USER=$USER
- if ! { [[ $SUID_USER == root ]] || $SUID_USER == "$WEBUSER" ]]; }; then
+ local REAL_USER=$USER
+ if ! { [[ $SUID_USER == root ]] || [[ $SUID_USER == "$WEBUSER" ]]; }; then
unset SUDO_USER SUDO_UID SUDO_GID SUDO_COMMAND
fi