解决docker下在0:00-0:59、16:00-16:59 启动时无限重启问题(set -e与expr冲突导致)
This commit is contained in:
@ -105,7 +105,7 @@ echo "当前分钟:${current_min}"
|
||||
echo "当前小时:${current_h}"
|
||||
|
||||
|
||||
remainder_h=`expr $current_h % 8`
|
||||
remainder_h=`expr $current_h % 8` || echo
|
||||
|
||||
|
||||
case ${remainder_h} in
|
||||
|
Reference in New Issue
Block a user