Blob Blame History Raw
#!/bin/bash

set -x

$XT_MULTI iptables -t filter -N c1 || exit 0
$XT_MULTI iptables -t filter -N c1 || exit 1

$XT_MULTI ip6tables -t filter -N c1 || exit 0
$XT_MULTI ip6tables -t filter -N c1 || exit 1

echo "E: Duplicate chains" >&2
exit 0