This commit is contained in:
Jamie Cameron
2014-05-24 23:37:21 -07:00
parent d7a8512698
commit 7c9e870b2e

View File

@@ -11,7 +11,7 @@ sub get_config
{
if (!@get_config_cache) {
my $fh = "CONF";
&open_readfile($fh, $config{'squid_conf'});
&open_readfile($fh, $config{'squid_conf'}) || return [];
my $lnum = 0;
while(my $line = <$fh>) {
$line =~ s/\r|\n//g; # strip newlines and comments