diff --git a/ecstore/src/disk/local.rs b/ecstore/src/disk/local.rs index ddefb55f..ec2a60a6 100644 --- a/ecstore/src/disk/local.rs +++ b/ecstore/src/disk/local.rs @@ -629,7 +629,11 @@ impl LocalDisk { let _ = fm.data.remove(vec![vid, dir]); let dir_path = self.get_object_path(volume, format!("{}/{}", path, dir).as_str())?; - self.move_to_trash(&dir_path, true, false).await?; + if let Err(err) = self.move_to_trash(&dir_path, true, false).await { + if !(is_err_file_not_found(&err) || is_err_os_not_exist(&err)) { + return Err(err); + } + }; } } diff --git a/scripts/dev.sh b/scripts/dev.sh index 8dc19c88..0df907a8 100755 --- a/scripts/dev.sh +++ b/scripts/dev.sh @@ -15,13 +15,6 @@ REMOTE_PATH="~" # 格式:服务器IP 用户名 目标路径 SERVER_LIST=( "root@121.89.80.13" - "root@121.89.80.198" - "root@8.130.78.237" - "root@8.130.189.236" - "root@121.89.80.230" - "root@121.89.80.45" - "root@8.130.191.95" - "root@121.89.80.91" ) # 遍历服务器列表