Skip to content

Commit

Permalink
Fix privileged user detection.
Browse files Browse the repository at this point in the history
  • Loading branch information
perlDreamer committed Jan 7, 2012
1 parent d67d8e7 commit 23d3f79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wre/lib/WRE/Host.pm
Expand Up @@ -138,7 +138,7 @@ Returns a boolean indicating whether the current user is a privileged user for t

sub isPrivilegedUser {
my $self = shift;
return 0;
return $< == 0;
}

#-------------------------------------------------------------------
Expand Down

0 comments on commit 23d3f79

Please sign in to comment.