From f1ce83972121bc6655cef6adbc01531f6dad2f7f Mon Sep 17 00:00:00 2001 From: MiaoWoo Date: Wed, 10 Jul 2019 00:41:27 +0800 Subject: [PATCH] fix: remove nohup and & Signed-off-by: MiaoWoo --- tera/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tera/run.sh b/tera/run.sh index c7793da..9648c8e 100644 --- a/tera/run.sh +++ b/tera/run.sh @@ -43,7 +43,7 @@ if [[ ! -f "OneKeyTera.sh" || ! -f ".lock" || $(cat .lock) -lt $(($(date +%s) - info "更新脚本..." curl -o OneKeyTera.sh https://git.yumc.pw/cloud/script/raw/master/tera/run.sh echo $(date +%s) > .lock - nohup bash OneKeyTera.sh & + bash OneKeyTera.sh exit 0 fi