Commit 89d06e0d authored by Rusty Russell's avatar Rusty Russell

ccanlint: fix bogus strerror printing when unknown test handed to --target

parent 1591860d
......@@ -497,7 +497,7 @@ int main(int argc, char *argv[])
test = find_test(target);
if (!test)
err(1, "Unknown test to run '%s'", target);
errx(1, "Unknown test to run '%s'", target);
skip_unrelated_tests(test);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment