mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 06:03:28 +00:00
Fix user permission check https://sourceforge.net/tracker/?func=detail&atid=117457&aid=3557515&group_id=17457
This commit is contained in:
@@ -15,7 +15,7 @@ if (!$ENV{'GATEWAY_INTERFACE'}) {
|
||||
chop($pwd = `pwd`);
|
||||
$0 = "$pwd/xmlrpc.pl";
|
||||
$command_line = 1;
|
||||
$< == 0 || die "xmlrpc.pl must be run as root";
|
||||
$> == 0 || die "xmlrpc.cgi must be run as root";
|
||||
}
|
||||
BEGIN { push(@INC, ".."); };
|
||||
use WebminCore;
|
||||
|
||||
Reference in New Issue
Block a user