mirror of
https://github.com/webmin/webmin.git
synced 2026-04-29 12:10:26 +01:00
Allow log paths that are variables https://www.virtualmin.com/node/38963
This commit is contained in:
@@ -81,7 +81,8 @@ else {
|
||||
foreach my $l (@logpaths) {
|
||||
$l =~ s/^\s*//;
|
||||
$l =~ s/\s*$//;
|
||||
$l =~ /^\/\S+$/ || &error($text{'jail_elogpath'});
|
||||
$l =~ /^\/\S+$/ || $l =~ /^\%\(/ ||
|
||||
&error($text{'jail_elogpath'});
|
||||
}
|
||||
|
||||
# Validate various counters
|
||||
|
||||
Reference in New Issue
Block a user