Stop setting un-needed var to diable ACL checking

This commit is contained in:
Jamie Cameron
2015-01-26 20:04:38 -08:00
parent bae3f5e77b
commit 99e1eda954
4 changed files with 2 additions and 6 deletions

View File

@ -1,8 +1,7 @@
#!/usr/local/bin/perl
# Creates some boot-time action
package server_manager;
$main::no_acl_check++;
package init;
$ENV{'WEBMIN_CONFIG'} ||= "/etc/webmin";
$ENV{'WEBMIN_VAR'} ||= "/var/webmin";
if ($0 =~ /^(.*\/)[^\/]+$/) {