shellcheck cleanup

shellcheck sees '\\' as trying to escape the trailing quote (see
koalaman/shellcheck#1548 ).
This commit is contained in:
Brian Hartvigsen 2021-05-26 15:24:50 -06:00
parent 74a4a788b1
commit dcb51683c5
No known key found for this signature in database
GPG Key ID: 46EEA32081255BEB
1 changed files with 1 additions and 0 deletions

View 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