commit | 7c7023fc7c53b9c3efa4bfe6e49804bedd4e29d4 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Fri Dec 11 11:59:54 2015 +0100 |
committer | Michal Vasko <mvasko@cesnet.cz> | Fri Dec 11 13:44:58 2015 +0100 |
tree | 456daeb15f7579cf799d2b19e2f49a5017d64b54 | |
parent | 210e34fcd5e6c44ed7eebe695a4a9644a5a7dfdc [diff] [blame] |
yanglint BUGFIX is ly_ctx_info fails display an error
diff --git a/tools/lint/commands.c b/tools/lint/commands.c index f86dc11..468304c 100644 --- a/tools/lint/commands.c +++ b/tools/lint/commands.c
@@ -578,6 +578,7 @@ ylib = ly_ctx_info(ctx); if (!ylib) { + fprintf(stderr, "Getting context info (ietf-yang-library data) failed.\n"); return 1; }