Ilia Ross
2025-04-30 22:32:41 +03:00
parent a7676f4004
commit a80870980d

View File

@@ -83,16 +83,16 @@ if (-r $jfile) {
push(@rv, &parse_config_file($jfile));
}
my @lrv;
# Read separate config files under jail.d
my $jdir = "$config{'config_dir'}/jail.d";
if (-d $jdir) {
foreach my $f (glob("$jdir/*.conf")) {
push(@rv, &parse_config_file($f));
push(@lrv, &parse_config_file($f));
}
}
# Read the main local file, and separate files under jail.d
my @lrv;
my $jlfile = &make_local_file($jfile);
if (-r $jlfile) {
push(@lrv, &parse_config_file($jlfile));