fix: Re-added ability to have comments in preload.custom
This commit is contained in:
parent
f33e7533f4
commit
11ba1ea660
1 changed files with 1 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ BEGIN {
|
||||||
while (my $line = <FILE>) {
|
while (my $line = <FILE>) {
|
||||||
chomp $line;
|
chomp $line;
|
||||||
next unless $line;
|
next unless $line;
|
||||||
|
next if $line =~ /^#/;
|
||||||
if (!-d $line) {
|
if (!-d $line) {
|
||||||
print "WARNING: Not adding lib directory '$line' from $webguiRoot/sbin/preload.custom: Directory does not exist.\n";
|
print "WARNING: Not adding lib directory '$line' from $webguiRoot/sbin/preload.custom: Directory does not exist.\n";
|
||||||
next;
|
next;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue