Browse Source

exclude search error doesnt abort backup

Wolfgang Ortmann 9 years ago
parent
commit
81aec18355
1 changed files with 7 additions and 6 deletions
  1. 7 6
      src/excludetools.cpp

+ 7 - 6
src/excludetools.cpp

@@ -33,12 +33,13 @@ Strings getExclusions(const KindConfig& conf)
 
           int rc;
           Strings excludedFiles = remoteExec(rshCommand, cmd, rc, debug);
-          if (rc > 0)
-            {
-              // return Strings should contain error messages
-              throw Exception("Find excludes", "Search for excludes failed");
-            }
-
+          /*
+                if (rc > 0)
+                  {
+                    // return Strings should contain error messages
+                    throw Exception("Find excludes", "Search for excludes failed");
+                  }
+          */
           for (unsigned int i = 0; i < excludedFiles.size(); ++i)
             {
               FileName fn(excludedFiles[i]);