summaryrefslogtreecommitdiffstats
path: root/iptables/tests/shell/testcases/chain/0001duplicate_1
blob: 6d42cecf2de55bc38b192cd0a4672327dca36aad (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

set -e

$IPTABLES -t filter -N c1
$IPTABLES -t filter -N c1

if [ $? -eq 0 ]; then
	echo "E: Duplicate chains" >&2
	exit 0
fi