Skip to content

Commit

Permalink
style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RH-steve-grubb committed Jun 24, 2022
1 parent 2b3116e commit cd287d7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/daemon/notify.c
Expand Up @@ -322,11 +322,10 @@ static void *decision_thread_main(void *arg)

static void enqueue_event(const struct fanotify_event_metadata *metadata)
{
if (q_append(q, metadata)){
if (q_append(q, metadata)) {
msg(LOG_DEBUG, "enqueue error");
close(metadata->fd);
}
else
} else
set_ready();
}

Expand Down

0 comments on commit cd287d7

Please sign in to comment.