mirror of
https://github.com/webmin/webmin.git
synced 2025-07-23 00:30:33 +00:00
Show the line number that is invalid
This commit is contained in:
@ -144,7 +144,7 @@ while(<FILE>) {
|
|||||||
$table->{'eline'} = $lnum;
|
$table->{'eline'} = $lnum;
|
||||||
}
|
}
|
||||||
elsif (/\S/) {
|
elsif (/\S/) {
|
||||||
&error(&text('eiptables', "<tt>$_</tt>"));
|
&error(&text('eiptables2', "<tt>$_</tt>", $lnum+1));
|
||||||
}
|
}
|
||||||
$lnum++;
|
$lnum++;
|
||||||
if (! defined($read_comment)) { $cmt=undef; }
|
if (! defined($read_comment)) { $cmt=undef; }
|
||||||
|
@ -160,8 +160,8 @@ redhat_eoutput=An error occured getting IPtables status from the command $1. Thi
|
|||||||
|
|
||||||
gentoo_escript=The Gentoo IPtables startup script $1 was not found on your system.
|
gentoo_escript=The Gentoo IPtables startup script $1 was not found on your system.
|
||||||
|
|
||||||
eiptables=Unknown IPtables save file line : $1
|
eiptables2=Unknown IPtables save file entry at line $2 : $1
|
||||||
eip6tables=Unknown IP6tables save file line : $1
|
eip6tables2=Unknown IP6tables save file entry at line $2 : $1
|
||||||
|
|
||||||
edit_title1=Add Rule
|
edit_title1=Add Rule
|
||||||
edit_title2=Edit Rule
|
edit_title2=Edit Rule
|
||||||
|
Reference in New Issue
Block a user