Skip to content

Commit

Permalink
tools: record: use the right exit code when the output file is missing
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
  • Loading branch information
whot committed Mar 16, 2020
1 parent 6ed3a0b commit 2b3fd5a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/libinput-record.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 2b3fd5a

Please sign in to comment.