pfsense/pfsense — pull request #982 by stilez (2014-02-27 21:22:05+00:00)
Title: Avoid @unlink() in unlink_if_exists()

Error suppression is generally a bad idea, especially if there could be several reasons unlink() fails and only one reason (file not existing) is to be ignored.

Use file_exists() to test existence first.