mirror of
https://github.com/webmin/webmin.git
synced 2026-05-04 22:30:33 +01:00
Fix restore command use for testing https://sourceforge.net/p/webadmin/bugs/5060/
This commit is contained in:
@@ -544,7 +544,7 @@ return undef;
|
||||
sub validate_iptables_config
|
||||
{
|
||||
my $out = &backquote_command(
|
||||
"iptables-restore --test <$ipvx_save 2>&1");
|
||||
"ip${ipvx}tables-restore --test <$ipvx_save 2>&1");
|
||||
return undef if (!$?);
|
||||
$out =~ s/Try\s.*more\s+information.*//;
|
||||
return $out;
|
||||
|
||||
Reference in New Issue
Block a user