projects
/
platform
/
upstream
/
libinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ed3a0b
)
tools: record: use the right exit code when the output file is missing
author
Peter Hutterer
<peter.hutterer@who-t.net>
Mon, 16 Mar 2020 06:13:27 +0000
(16:13 +1000)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Mon, 16 Mar 2020 06:21:04 +0000
(16:21 +1000)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
tools/libinput-record.c
patch
|
blob
|
history
diff --git
a/tools/libinput-record.c
b/tools/libinput-record.c
index
453c3eb
..
6c55fb5
100644
(file)
--- a/
tools/libinput-record.c
+++ b/
tools/libinput-record.c
@@
-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;
}