add missing - in certopt (#210)
authorFabian H <fabolhak@users.noreply.github.com>
Mon, 16 Aug 2021 22:52:39 +0000 (00:52 +0200)
committerGitHub <noreply@github.com>
Mon, 16 Aug 2021 22:52:39 +0000 (15:52 -0700)
otherwise openssl will give an error and not accept is as argument

rsync-ssl

index 46701af160ecff16680b30faf6a1f325fac62359..8588eeb01346663486de2ef8dd51799e8cc9a13b 100755 (executable)
--- a/rsync-ssl
+++ b/rsync-ssl
@@ -73,7 +73,7 @@ function rsync_ssl_helper {
        certopt=""
        gnutls_cert_opt=""
     else
-       certopt="cert$optsep$RSYNC_SSL_CERT"
+       certopt="-cert$optsep$RSYNC_SSL_CERT"
        gnutls_cert_opt="--x509keyfile=$RSYNC_SSL_CERT"
     fi