From d32d3970d58683d02f89073103eb595eaa8f395f Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 6 Nov 2010 18:20:35 -0400 Subject: Add routed/ items to obsoleted files. Force removal of file so that directories can be included in the future --- tmp/post_upgrade_command.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tmp') diff --git a/tmp/post_upgrade_command.php b/tmp/post_upgrade_command.php index 497e526..907e3ab 100755 --- a/tmp/post_upgrade_command.php +++ b/tmp/post_upgrade_command.php @@ -19,6 +19,6 @@ $files_to_process = split("\n", file_get_contents("/etc/pfSense.obsoletedfiles")); foreach($files_to_process as $filename) if(file_exists($filename)) - exec("/bin/rm $filename"); + exec("/bin/rm -f $filename"); ?> \ No newline at end of file -- cgit v1.1