Fix firehol save

Was trying to save to temporary location, not the specified one.
Error introduced in df50d6cb29b9a716a40d99918de46cb0e899e42a.
This commit is contained in:
Phil Whineray 2014-02-22 08:44:26 +00:00
parent 69e2169674
commit 40fde76a78

@ -8620,7 +8620,7 @@ then
echo -n $"FireHOL: Saving firewall to ${FIREHOL_AUTOSAVE}:"
fixed_save ${IPTABLES_SAVE_CMD} >${FIREHOL_SAVED}
fixed_save ${IPTABLES_SAVE_CMD} >${FIREHOL_AUTOSAVE}
if [ ! $? -eq 0 ]
then
@ -8636,7 +8636,7 @@ then
echo -n $"FireHOL: Saving IPv6 firewall to ${FIREHOL_AUTOSAVE6}:"
fixed_save ${IP6TABLES_SAVE_CMD} >${FIREHOL_SAVED6}
fixed_save ${IP6TABLES_SAVE_CMD} >${FIREHOL_AUTOSAVE6}
if [ ! $? -eq 0 ]
then