diff --git a/bin/ovpn_copy_server_files b/bin/ovpn_copy_server_files index ed10eac..42fa827 100755 --- a/bin/ovpn_copy_server_files +++ b/bin/ovpn_copy_server_files @@ -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"