commit | 3426262477bffb894fddc2665a8fc0693555a691 | [log] [tgz] |
---|---|---|
author | aPiecek <piecek@cesnet.cz> | Mon Mar 27 08:28:25 2023 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Fri Jun 02 15:48:29 2023 +0200 |
tree | 17f255b7dcc4b42929ebdee27ab5ec2825b3f913 | |
parent | 266ca76e49045f8c6bbffca428f7627342b8ffa5 [diff] [blame] |
yanglint BUGFIX return code of list command ... was suppressed.
diff --git a/tools/lint/main_ni.c b/tools/lint/main_ni.c index a0849f8..bfc1e41 100644 --- a/tools/lint/main_ni.c +++ b/tools/lint/main_ni.c
@@ -965,7 +965,8 @@ if (c.list) { /* print the list of schemas */ - print_list(c.out, c.ctx, c.data_out_format); + ret = print_list(c.out, c.ctx, c.data_out_format); + goto cleanup; } else { if (c.feature_param_format) { for (u = 0; u < c.schema_modules.count; u++) {