Commit 2b3fd5aa authored by Peter Hutterer's avatar Peter Hutterer

tools: record: use the right exit code when the output file is missing

Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent 6ed3a0b0
......@@ -2582,6 +2582,7 @@ main(int argc, char **argv)
if (ctx.timeout > 0 && output_arg == NULL) {
fprintf(stderr,
"Option --autorestart requires --output-file\n");
rc = EXIT_INVALID_USAGE;
goto out;
}
......
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