From ba176cf5b9a30978c765624f5ac074d8d128678b Mon Sep 17 00:00:00 2001 From: Henry N Date: Thu, 26 Mar 2020 20:41:54 +0100 Subject: [PATCH] Fix error messag mkdir /etc/iptables MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix this error message: mkdir: cannot create directory ‘/etc/iptables’: File exists --- openvpn-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index d6508b2..abed2e9 100755 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -897,7 +897,7 @@ verb 3" >> /etc/openvpn/server.conf fi # Add iptables rules in two scripts - mkdir /etc/iptables + mkdir -p /etc/iptables # Script to add rules echo "#!/bin/sh