备份脚本检查名称写错了,将检测到退出删除
This commit is contained in:
parent
8905b97ae2
commit
4fe0954131
@ -8,9 +8,8 @@ declare baidu_pick
|
|||||||
declare aliyun_pick
|
declare aliyun_pick
|
||||||
declare cron
|
declare cron
|
||||||
|
|
||||||
if [[ -f "${path}/update.sh" ]];then
|
if [[ -f "${path}/backup.sh" ]];then
|
||||||
echo "该路径文件已经存在"
|
echo "该路径文件已经存在"
|
||||||
exit
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user