浏览代码

Update cronicle.sh

remove unexpected token
tteckster 2 年之前
父节点
当前提交
7987b8697e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ct/cronicle.sh

+ 1 - 1
ct/cronicle.sh

@@ -62,7 +62,7 @@ msg_info "Updating ${APP}"
 /opt/cronicle/bin/control.sh upgrade &>/dev/null
 msg_ok "Updated ${APP}"
 exit
-fi
+
 if [ "$UPD" == "2" ]; then
 LATEST=$(curl -sL https://api.github.com/repos/jhuckaby/Cronicle/releases/latest | grep '"tag_name":' | cut -d'"' -f4)
 IP=$(hostname -I | awk '{print $1}')