]> Kevux Git Server - fll/commit
Bugfix: The signal is not properly closing.
authorKevin Day <thekevinday@gmail.com>
Mon, 26 Dec 2022 13:58:48 +0000 (07:58 -0600)
committerKevin Day <thekevinday@gmail.com>
Mon, 26 Dec 2022 14:02:52 +0000 (08:02 -0600)
commit4dfc152aad390be408cb9a20578b337b2a13d993
tree2b63ea15a9c1548d5351f3ccbf52e8b66ace368a
parent767c244e7c023880b4eb555a07a42f5d8e4b364e
Bugfix: The signal is not properly closing.

The signal id is a file descriptor.
File descriptors are unset when at -1 rather than 0.

The not zero check is therefore invalid.
Replace that check with a check against negative one.
level_0/f_signal/c/signal.c