From 1dad1579ade63f9deebff425ec949c0859d6c4ca Mon Sep 17 00:00:00 2001 From: angristan Date: Mon, 24 Sep 2018 11:37:13 +0200 Subject: [PATCH] Better code --- openvpn-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index f45d6ec..fd2c8fa 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -966,7 +966,7 @@ function newClient () { echo "" echo "" - cat "/etc/openvpn/easy-rsa/pki/issued/$CLIENT.crt" | awk '/BEGIN/,/END/' + awk '/BEGIN/,/END/' "/etc/openvpn/easy-rsa/pki/issued/$CLIENT.crt" echo "" echo ""