dengsixing 1 年之前
父節點
當前提交
8552d895fc
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0 3
      src/main/java/com/fdkankan/download/service/impl/DownloadServiceImpl.java

+ 0 - 3
src/main/java/com/fdkankan/download/service/impl/DownloadServiceImpl.java

@@ -501,9 +501,6 @@ public class DownloadServiceImpl implements IDownloadService {
         String target = String.format("/mnt/scenes/%s", DateExtUtil.format(new Date(), DateExtUtil.dateStyle6));
         String target = String.format("/mnt/scenes/%s", DateExtUtil.format(new Date(), DateExtUtil.dateStyle6));
         String cmd = "cd " + sourcePath + " && zip -r " + zipPath + " * && mv -f " + zipPath + " "  + target;
         String cmd = "cd " + sourcePath + " && zip -r " + zipPath + " * && mv -f " + zipPath + " "  + target;
         CmdUtils.callLineSh(cmd, 200);
         CmdUtils.callLineSh(cmd, 200);
-        if(!FileUtil.exist(zipPath)){
-            throw new RuntimeException("打包失败");
-        }
     }
     }
 
 
 }
 }