Commit e74224ee authored by Leigh Stoller's avatar Leigh Stoller

Fix logic bug in previous revision.

parent c286d301
......@@ -160,7 +160,7 @@ STDOUT->autoflush(1);
#
# XXX For a logfile ID, do not flip back either.
#
if (!$this_user->IsAdmin() || !$logfile) {
if (!$this_user->IsAdmin() && !$logfile) {
$EUID = $UID;
}
......
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