fix bug
This commit is contained in:
parent
bf72ff2521
commit
d962dcd36e
@ -8,6 +8,7 @@ restart_docker(){
|
||||
|
||||
|
||||
check_config(){
|
||||
local config_dir="./conf"
|
||||
# 如果配置文件不存在或者空白
|
||||
if [ ! -e "$config_dir/config.json" ] || [ ! -s "$config_dir/config.json" ];then
|
||||
echo "请先'创建配置'"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user