From 1e891fc4655cd391fb6d68359081a26f01eb06e5 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 26 Oct 2009 19:53:52 -0400 Subject: Remove swap.state only during removal --- config/squid/squid.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); -- cgit v1.2.3