[Lunar-commits] <moonbase> iptables: corrected little mistake in wrapper
Jean-Michel Bruenn
wdp at lunar-linux.org
Fri Aug 5 00:30:32 CEST 2011
commit d0f3d7b187cd2b21aa3095a06682a0d328a228fe
Author: Jean-Michel Bruenn <wdp at lunar-linux.org>
Date: Fri Aug 5 00:30:32 2011 +0200
iptables: corrected little mistake in wrapper
---
security/iptables/files/iptsave | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/security/iptables/files/iptsave b/security/iptables/files/iptsave
index 5b1f6dd..8518cfa 100644
--- a/security/iptables/files/iptsave
+++ b/security/iptables/files/iptsave
@@ -15,8 +15,8 @@ IPTSAVEBIN=$(which iptables-save);
# only run this if iptables-save is executable
if [ -x "$IPTSAVEBIN" ]; then
# remove saved rules if already available
- if [ -f "$IPTSAVE" ]; then
- rm -f "$IPTSAVE";
+ if [ -f "$IPTSAVEFILE" ]; then
+ rm -f "$IPTSAVEFILE";
fi
# save the iptables rules
More information about the Lunar-commits
mailing list