Fix error regex
@@ -49,7 +49,7 @@ class Find(GenericUnixCommand):
if self._regex_helper.search_compiled(Find._re_permission_denied, line):
raise ParsingDone
- _re_error = re.compile(r"[find|bash]:\s(?P<ERROR_MSG_FIND>.*)", re.IGNORECASE)
+ _re_error = re.compile(r"(find|bash):\s(?P<ERROR_MSG_FIND>.*)", re.IGNORECASE)
def _command_failure(self, line):
if self._regex_helper.search_compiled(Find._re_error, line):
