|
|
@@ -34,11 +34,11 @@ 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)
|
|
|
{
|
|
|
@@ -47,7 +47,7 @@ Strings getExclusions(const KindConfig& conf)
|
|
|
debugPrint("Excluding: " + exclusions.back());
|
|
|
}
|
|
|
}
|
|
|
- /*
|
|
|
+
|
|
|
string userExcludeFile = conf.getString("userExcludeFile");
|
|
|
if (!userExcludeFile.empty())
|
|
|
{
|
|
|
@@ -60,7 +60,7 @@ Strings getExclusions(const KindConfig& conf)
|
|
|
if (rc == 0)
|
|
|
exclusions += excludes2;
|
|
|
} // if (shellMode)
|
|
|
- */
|
|
|
+
|
|
|
}
|
|
|
return exclusions;
|
|
|
}
|