Kaynağa Gözat

error message during find exclude to vault/error

Wolfgang Ortmann 10 yıl önce
ebeveyn
işleme
8105b9cba9
2 değiştirilmiş dosya ile 345 ekleme ve 335 silme
  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)
             {

Dosya farkı çok büyük olduğundan ihmal edildi
+ 340 - 334
src/kind.cpp


Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor