commit | 48d5a75cbb3a652f4633e5be58cd1fc1e98e4464 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Mon Jan 25 14:18:25 2021 +0100 |
committer | Michal Vasko <mvasko@cesnet.cz> | Mon Jan 25 14:18:25 2021 +0100 |
tree | 3a5e38fe71f94664b32983d62eea0b609477a0ea | |
parent | e8988e9f1753d78f283fbac9aa9238a29476432d [diff] |
yanglint BUGFIX invert return value check
diff --git a/tools/lint/cmd_data.c b/tools/lint/cmd_data.c index a3fe6e7..e2cd6fd 100644 --- a/tools/lint/cmd_data.c +++ b/tools/lint/cmd_data.c
@@ -281,7 +281,7 @@ goto cleanup; } - if (fill_cmdline_file(&inputs, in, argv[optind + i], format)) { + if (!fill_cmdline_file(&inputs, in, argv[optind + i], format)) { ly_in_free(in, 1); goto cleanup; }