]> git.proxmox.com Git - mirror_acme.sh.git/commitdiff
shellcheck cleanup
authorBrian Hartvigsen <brian.andrew@brianandjenny.com>
Wed, 26 May 2021 21:24:50 +0000 (15:24 -0600)
committerBrian Hartvigsen <brian.andrew@brianandjenny.com>
Wed, 26 May 2021 21:25:58 +0000 (15:25 -0600)
shellcheck sees '\\' as trying to escape the trailing quote (see
koalaman/shellcheck#1548 ).

deploy/synology_dsm.sh

index 649a48dab2da7839f72df233843f42b8f2fe8645..5a70c74ebed05b84d1bedf78e6bfb9c476db072d 100644 (file)
@@ -66,6 +66,7 @@ synology_dsm_deploy() {
   _getdeployconf SYNO_Certificate
   _debug SYNO_Certificate "${SYNO_Certificate:-}"
 
+  # shellcheck disable=SC1003 # We are not trying to escape a single quote
   if printf "%s" "$SYNO_Certificate" | grep '\\'; then
     _err "Do not use a backslash (\) in your certificate description"
     return 1