Skip to content

Commit

Permalink
Minor formatting adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
eradman committed Aug 25, 2023
1 parent a4259d2 commit 8170756
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
Makefile
entr
entr_spec
8 changes: 4 additions & 4 deletions entr.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ main(int argc, char *argv[]) {
struct kevent evSet;
unsigned open_max;

if (pledge("stdio rpath tty proc exec", NULL) == -1)
err(1, "pledge");
if (pledge("stdio rpath tty proc exec", NULL) == -1)
err(1, "pledge");

/* call usage() if no command is supplied */
if (argc < 2) usage();
Expand Down Expand Up @@ -245,9 +245,9 @@ handle_exit(int sig) {
terminate_utility();

if ((sig == SIGINT || sig == SIGHUP))
_exit(0);
_exit(0);
else
raise(sig);
raise(sig);
}

void
Expand Down

0 comments on commit 8170756

Please sign in to comment.