Skip to content

Commit 5e95b64

Browse files
authored
Merge pull request #202 from Gmentsik/combined-save-bugfix
bugfix: combined-saved was not making directory
2 parents 093fc9f + 4fd33ab commit 5e95b64

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/ovpn_getclient

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ case "$parm" in
110110
get_client_config "combined"
111111
;;
112112
"combined-save")
113+
mkdir -p "$dir"
113114
get_client_config "combined" > "$dir/${cn}-combined.ovpn"
114115
;;
115116
*)

0 commit comments

Comments
 (0)