备份脚本检查名称写错了,将检测到退出删除

This commit is contained in:
lsy 2024-07-26 19:16:29 +08:00
parent 8905b97ae2
commit 4fe0954131

View File

@ -8,9 +8,8 @@ declare baidu_pick
declare aliyun_pick
declare cron
if [[ -f "${path}/update.sh" ]];then
if [[ -f "${path}/backup.sh" ]];then
echo "该路径文件已经存在"
exit
fi