mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-06 01:20:17 +01:00
tools: remove a stray perror() in libinput-record
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
f1c0f28bca
commit
223c914847
1 changed files with 0 additions and 1 deletions
|
|
@ -814,7 +814,6 @@ mainloop(struct record_context *ctx)
|
|||
/* If we didn't have events, delete the file. */
|
||||
if (!isatty(ctx->out_fd)) {
|
||||
if (!had_events && ctx->output_file) {
|
||||
perror("");
|
||||
fprintf(stderr, "No events recorded, deleting '%s'\n", ctx->output_file);
|
||||
unlink(ctx->output_file);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue