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