mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Just the first line is interesting here
This commit is contained in:
parent
31a5f13c6e
commit
e01570e18b
@ -312,7 +312,7 @@ function filter_configure_sync($delete_states_if_needed = true) {
|
||||
* then output the contents of the error to the caller
|
||||
*/
|
||||
if($rules_loading <> 0) {
|
||||
$line_error = explode(":", $rules_error);
|
||||
$line_error = explode(":", $rules_error[0]);
|
||||
$line_number = $line_error[1];
|
||||
$line_split = file("{$g['tmp_path']}/rules.debug");
|
||||
if(is_array($line_split))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user