Skip to content

Commit

Permalink
ovpn_copy_server_files: Use short flags with rm
Browse files Browse the repository at this point in the history
* The busybox tool in the alpine distro doesn't support long flags.
  • Loading branch information
kylemanna committed Sep 29, 2015
1 parent f00de36 commit 1498795
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/ovpn_copy_server_files
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ fi
mkdir -p "${TARGET}"

## Ensure that no other keys then the one for the server is present.
rm --recursive --force "$TARGET/pki/private" "$TARGET/pki/issued"
rm -rf "$TARGET/pki/private" "$TARGET/pki/issued"

FILES=(
"openvpn.conf"
Expand Down

0 comments on commit 1498795

Please sign in to comment.