Skip to content

Commit

Permalink
shellcheck cleanup
Browse files Browse the repository at this point in the history
shellcheck sees '\\' as trying to escape the trailing quote (see
koalaman/shellcheck#1548 ).
  • Loading branch information
tresni committed May 26, 2021
1 parent c4bd876 commit dbfe87d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions deploy/synology_dsm.sh
Expand Up @@ -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
Expand Down

0 comments on commit dbfe87d

Please sign in to comment.