Skip to content

Commit

Permalink
Merge pull request #3498 from tresni/synology_dsm
Browse files Browse the repository at this point in the history
FIX: Synology sets "default" on wrong certificate
  • Loading branch information
Neilpang authored May 3, 2021
2 parents 25a8240 + 1a4a180 commit ae40445
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/synology_dsm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ synology_dsm_deploy() {
# we've verified this certificate description is a thing, so save it
_savedeployconf SYNO_Certificate "$SYNO_Certificate"

default=false
default=""
if echo "$response" | sed -n "s/.*\"desc\":\"$SYNO_Certificate\",\([^{]*\).*/\1/p" | grep -- 'is_default":true' >/dev/null; then
default=true
fi
Expand Down

0 comments on commit ae40445

Please sign in to comment.