fix: remove nohup and &

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
2019-07-10 00:41:27 +08:00
parent 7594346c13
commit f1ce839721

View File

@ -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