mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00: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