mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-05-09 03:38:01 +02:00
tools: record: use the right exit code when the output file is missing
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
6ed3a0b079
commit
2b3fd5aa30
1 changed files with 1 additions and 0 deletions
|
|
@ -2582,6 +2582,7 @@ main(int argc, char **argv)
|
||||||
if (ctx.timeout > 0 && output_arg == NULL) {
|
if (ctx.timeout > 0 && output_arg == NULL) {
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"Option --autorestart requires --output-file\n");
|
"Option --autorestart requires --output-file\n");
|
||||||
|
rc = EXIT_INVALID_USAGE;
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue