tools: remove a stray perror() in libinput-record

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2018-03-01 12:51:27 +10:00
parent f1c0f28bca
commit 223c914847

View file

@ -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);
}