Skip to content

Commit b5e21fe

Browse files
committed
Fix path to easy-rsa tarball in checksum verification
1 parent 3c4fd34 commit b5e21fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openvpn-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,7 @@ function installOpenVPN() {
760760
# Install the latest version of easy-rsa from source, if not already installed.
761761
if [[ ! -d /etc/openvpn/easy-rsa/ ]]; then
762762
wget -O ~/easy-rsa.tgz "https://github.com/OpenVPN/easy-rsa/releases/download/v${EASYRSA_VERSION}/EasyRSA-${EASYRSA_VERSION}.tgz"
763-
if ! echo "${EASYRSA_SHA256} ~/easy-rsa.tgz" | sha256sum -c; then
763+
if ! echo "${EASYRSA_SHA256} $HOME/easy-rsa.tgz" | sha256sum -c; then
764764
echo "SHA256 checksum verification failed for easy-rsa download!"
765765
rm -f ~/easy-rsa.tgz
766766
exit 1

0 commit comments

Comments
 (0)