]> git.proxmox.com Git - mirror_acme.sh.git/commitdiff
fix https://github.com/acmesh-official/acme.sh/issues/4562#issuecomment-1598731384
authorneil <neilgit@neilpang.com>
Sat, 8 Jul 2023 06:11:51 +0000 (14:11 +0800)
committerneil <neilgit@neilpang.com>
Sat, 8 Jul 2023 06:11:51 +0000 (14:11 +0800)
acme.sh

diff --git a/acme.sh b/acme.sh
index 65b0a5b9528d0fb2a15378fd0b5019b29c215bac..7a9468fde10c005ebff2d5e65c4a97224cdd70dc 100755 (executable)
--- a/acme.sh
+++ b/acme.sh
@@ -2278,7 +2278,7 @@ _setopt() {
   if [ ! -f "$__conf" ]; then
     touch "$__conf"
   fi
-  if [ -n "$(tail -c 1 <"$__conf")" ]; then
+  if [ -n "$(tail -c1 <"$__conf")" ]; then
     echo >>"$__conf"
   fi