commit | be04af4aab78659a9b90573cb0d75742fbce6063 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Fri Jul 16 10:48:43 2021 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Fri Jul 16 10:48:43 2021 +0200 |
tree | 307772e8dd0b0c488236442ca5b3c429f37a8d56 | |
parent | e06b77462fc68d95dc1b51d2d1a289a15102c5eb [diff] [blame] |
tree schema BUGFIX existing module is not a parsing error Fixes #1656
diff --git a/src/tree_schema.c b/src/tree_schema.c index b405ff7..cbd2e64 100644 --- a/src/tree_schema.c +++ b/src/tree_schema.c
@@ -1595,7 +1595,7 @@ /* success */ cleanup: - if (ret) { + if (ret && (ret != LY_EEXIST)) { if (mod && mod->name) { /* there are cases when path is not available for parsing error, so this additional * message tries to add information about the module where the error occurred */