r9: - avoid exit on error when chowning
[iptables-cn.git] / debian / postinst
index 54c8a67..2beb6a1 100755 (executable)
@@ -30,7 +30,7 @@ esac
 # fix problem with permissions from the old package
 if dpkg --compare-versions "$2" lt "2:1.2.11-4"; then
     chown -f -Rh root:root /var/lib/iptables /etc/init.d/iptables \
-               /etc/default/iptables >/dev/null 2>&1
+               /etc/default/iptables >/dev/null 2>&1 || true
 fi
 
 # remove old iptables init script