Skip to content

Commit

Permalink
fix negative return
Browse files Browse the repository at this point in the history
  • Loading branch information
RH-steve-grubb committed Jun 14, 2023
1 parent c121c8f commit c35ad41
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cli/fapolicyd-cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -843,7 +843,8 @@ static int do_status_report(void)

// Access a file to provoke a response
int fd = open(CONFIG_FILE, O_RDONLY);
close(fd);
if (fd >= 0)
close(fd);

retry:
// wait for it
Expand Down

0 comments on commit c35ad41

Please sign in to comment.