]> git.proxmox.com Git - mirror_acme.sh.git/blobdiff - deploy/synology_dsm.sh
FIX: Synology sets "default" on wrong certificate
[mirror_acme.sh.git] / deploy / synology_dsm.sh
index 35d332099a15118a148ed7f28fd222c96a7a0c1e..25d43efbc3073ed14a70336351ac29dd1636e2b3 100644 (file)
@@ -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