diff --git a/installJRMC b/installJRMC index 7e41560..8572ae6 100755 --- a/installJRMC +++ b/installJRMC @@ -750,6 +750,7 @@ symlinkCerts() { [[ -f $target_cert ]] && return 0 + # Have to use command array instead of eval because of whitespace in $mc_cert_link if [[ -f /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem ]]; then ln_cmd=("sudo" "ln" "-fs" "/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem" "$mc_cert_link") # For RHEL elif [[ -f /var/lib/ca-certificates/ca-bundle.pem ]]; then