Better code

This commit is contained in:
angristan 2018-09-24 11:37:13 +02:00
parent 8d5d080cc0
commit 1dad1579ad

View File

@ -966,7 +966,7 @@ function newClient () {
echo "</ca>"
echo "<cert>"
cat "/etc/openvpn/easy-rsa/pki/issued/$CLIENT.crt" | awk '/BEGIN/,/END/'
awk '/BEGIN/,/END/' "/etc/openvpn/easy-rsa/pki/issued/$CLIENT.crt"
echo "</cert>"
echo "<key>"