浏览代码

fix https://github.com/acmesh-official/acme.sh/issues/4562#issuecomment-1598731384

neil 2 年之前
父节点
当前提交
a7455d7edd
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      acme.sh

+ 1 - 1
acme.sh

@@ -2278,7 +2278,7 @@ _setopt() {
   if [ ! -f "$__conf" ]; then
   if [ ! -f "$__conf" ]; then
     touch "$__conf"
     touch "$__conf"
   fi
   fi
-  if [ -n "$(tail -c 1 <"$__conf")" ]; then
+  if [ -n "$(tail -c1 <"$__conf")" ]; then
     echo >>"$__conf"
     echo >>"$__conf"
   fi
   fi