Not a real problem here, but covscan got confused by one string
containing 'then' keyword.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Florian Westphal <fw@strlen.de>
echo "E: unknown error applying new iptables ruleset." >&2
exit 5
else
- echo done.
+ echo "done."
fi
echo -n "Can you establish NEW connections to the machine? (y/N) "
case "${ret:-}" in
(y*|Y*)
echo
- echo ... then my job is done. See you next time.
+ echo "... then my job is done. See you next time."
;;
(*)
if [[ -z "${ret:-}" ]]; then
echo "Timeout. Something happened (or did not). Better play it safe..."
echo -n "Reverting to old ruleset... "
"$RESTORE" <"$TMPFILE";
- echo done.
+ echo "done."
exit 255
;;
esac