mirror of
https://github.com/ledccn/IYUUPlus.git
synced 2025-05-05 22:41:08 +00:00
/bin/sh中用来判断的变量需要加引号
This commit is contained in:
parent
761e491262
commit
7bb6d06749
@ -17,7 +17,7 @@ if [[ ! -s .env ]]; then
|
||||
cp -f .env.example .env
|
||||
fi
|
||||
|
||||
if [[ -z ${CRON_UPDATE} ]]; then
|
||||
if [[ -z "${CRON_UPDATE}" ]]; then
|
||||
minute=$(($RANDOM % 60))
|
||||
hour_start=$(($RANDOM % 6))
|
||||
hour_interval=$(($RANDOM % 4 + 6))
|
||||
|
Loading…
x
Reference in New Issue
Block a user