From 1498795de2fcc77f958a9e1238243c59b9b76291 Mon Sep 17 00:00:00 2001 From: Kyle Manna Date: Tue, 29 Sep 2015 11:41:36 -0700 Subject: [PATCH] ovpn_copy_server_files: Use short flags with rm * The busybox tool in the alpine distro doesn't support long flags. --- bin/ovpn_copy_server_files | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"