1 2 3 4 5 6 7 8 9
#!/bin/bash set -x $IPTABLES -t filter -N c1 $IPTABLES -t filter -N c1 || exit 1 echo "E: Duplicate chains" >&2 exit 0