Skip to content

Commit

Permalink
drop_signals: return 0 even if we don't own the atomic
Browse files Browse the repository at this point in the history
  • Loading branch information
dankamongmen committed May 17, 2021
1 parent d8238da commit 65c3aa6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ int drop_signals(void* nc){
if(ret){
fprintf(stderr, "Signals weren't registered for %p (had %p)\n", nc, expected);
}
return ret;
// we might not have established any handlers in setup_signals(); always
// return 0 here, for now...
return 0;
}

static void
Expand Down

0 comments on commit 65c3aa6

Please sign in to comment.