mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 03:07:43 +02:00
webaccess.cgi: Use new perl system functions
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -86,7 +86,7 @@ if (($cgiparams{'ACTION'} eq 'submit') && ($is_supervisor))
|
||||
((defined($proxysettings{'SUPERVISOR_PASSWORD'})) && ($proxysettings{'SUPERVISOR_PASSWORD'} eq '')))
|
||||
{
|
||||
&write_acl;
|
||||
system("/usr/local/bin/squidctrl restart >/dev/null 2>&1");
|
||||
&General::system("/usr/local/bin/squidctrl", "restart");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user