aboutsummaryrefslogtreecommitdiffstats
path: root/config/squid/squid.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@G5.local>2009-10-26 19:53:52 -0400
committerScott Ullrich <sullrich@G5.local>2009-10-26 19:53:52 -0400
commit1e891fc4655cd391fb6d68359081a26f01eb06e5 (patch)
treefdc25feda45c0c21ac2bb43337914b95fda6566f /config/squid/squid.inc
parentaaf8b02814e64037613592891c6e34f8056770d3 (diff)
downloadpfsense-packages-1e891fc4655cd391fb6d68359081a26f01eb06e5.tar.gz
pfsense-packages-1e891fc4655cd391fb6d68359081a26f01eb06e5.tar.bz2
pfsense-packages-1e891fc4655cd391fb6d68359081a26f01eb06e5.zip
Remove swap.state only during removal
Diffstat (limited to 'config/squid/squid.inc')
-rw-r--r--config/squid/squid.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/squid/squid.inc b/config/squid/squid.inc
index 6eaf1aec..dd3642da 100644
--- a/config/squid/squid.inc
+++ b/config/squid/squid.inc
@@ -258,7 +258,7 @@ function squid_deinstall_command() {
$logdir = ($settings['log_dir'] ? $settings['log_dir'] : '/var/squid/log');
update_status("Checking Squid cache... One moment please...");
update_output_window("$plswait_txt");
- mwexec('rm -rf $cachedir');
+ mwexec('rm -rf $cachedir/swap.state');
mwexec('rm -rf $logdir');
update_status("Finishing package cleanup.");
mwexec('rm -f /usr/local/etc/rc.d/proxy_monitor.sh');