From 4fd33ab07705839327891cdcadec0aecf9417be3 Mon Sep 17 00:00:00 2001 From: "gergely.mentsik" Date: Thu, 12 Jan 2017 12:49:24 +0100 Subject: [PATCH] bugfix: combined-saved was not making directory --- bin/ovpn_getclient | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/ovpn_getclient b/bin/ovpn_getclient index 3f516f4..6a80d29 100755 --- a/bin/ovpn_getclient +++ b/bin/ovpn_getclient @@ -110,6 +110,7 @@ case "$parm" in get_client_config "combined" ;; "combined-save") + mkdir -p "$dir" get_client_config "combined" > "$dir/${cn}-combined.ovpn" ;; *)