mirror of
https://github.com/tickstep/aliyunpan.git
synced 2025-01-23 14:32:14 +08:00
change sync prompt
This commit is contained in:
parent
911b07cc8a
commit
855b640d9f
@ -193,8 +193,8 @@ func RunSync(fileDownloadParallel, fileUploadParallel int, downloadBlockSize, up
|
||||
return
|
||||
}
|
||||
c := ""
|
||||
fmt.Print("本命令不会退出,如需要结束同步备份进程请输入y,然后按Enter键进行停止:")
|
||||
for strings.ToLower(c) != "y" {
|
||||
fmt.Print("本命令不会退出,如需要结束同步备份进程请输入y,然后按Enter键进行停止:")
|
||||
fmt.Scan(&c)
|
||||
}
|
||||
fmt.Println("正在停止同步备份任务,请稍等...")
|
||||
|
Loading…
Reference in New Issue
Block a user