bsdperimeter/pfsense-packages — pull request #224 by phil-davis (2012-03-14 08:51:40+00:00)
Title: Bug #2285: Do not run code in swapstate_check.php when there is no Squid cache

This change handles the case when Squid has no disk cache (e.g. typically on nanobsd/embedded). In this case, swapstate_check.php now just does nothing, exiting quietly.
Previously it logged a message about filesize($swapstate) failing, because the file does not exist when there is no cache.