Fix .ovpn creation, - was missing

This commit is contained in:
Victor LABORIE 2018-02-15 16:33:07 +01:00
parent 3df0ca945b
commit 2e2e59790a
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ EOF
# generate openvpn format
if [ -e "${CADIR}/ovpn.conf" ]; then
cat "${CADIR}/ovpn.conf" > "${OVPNDIR}/${cn}-${TIMESTAMP}.ovpn" <<EOF
cat "${CADIR}/ovpn.conf" - > "${OVPNDIR}/${cn}-${TIMESTAMP}.ovpn" <<EOF
<ca>
$(cat "${CACERT}")
</ca>