소스 검색

error message during find exclude to vault/error

Wolfgang Ortmann 9 년 전
부모
커밋
8105b9cba9
2개의 변경된 파일345개의 추가작업 그리고 335개의 파일을 삭제
  1. 5 1
      src/kind.ag
  2. 340 334
      src/kind.cpp

+ 5 - 1
src/kind.ag

@@ -265,7 +265,11 @@ void doBackup(const string& vault,
           int rc;
           Strings excludedFiles = myPopen(excludeCommand, rc, debug);
           if (rc > 0)
-            throw Exception("Find exludes", "Search for excludes failed");
+            {
+              // return Strings should contain error messages
+              strings2File(excludedFiles, errorfile);
+              throw Exception("Find exludes", "Search for excludes failed");
+            }
 
           for (unsigned int i = 0; i < excludedFiles.size(); ++i)
             {

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 340 - 334
src/kind.cpp


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.