Skip to content

Commit 42f83f8

Browse files
authored
Merge pull request #6 from jlti-dev/dev
checking if routes are set
2 parents 216d1a8 + 70d50ff commit 42f83f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ $($iptab)
103103
echo "--------------------------------------------------"
104104
if [ "$FIREWALL" == "false" ]; then
105105
echo "Not doing any iptables"
106-
elif [ grep "push \"route" /docker/ovpn.conf ]
106+
elif [ grep "push \"route" /docker/ovpn.conf ]; then
107107
echo "creating tempfile for iptables (public routes)"
108108
tmp=$(mktemp)
109109
grep "push \"route" /docker/ovpn.conf >> $tmp

0 commit comments

Comments
 (0)