ref: 61c16aebdaf9d0629ba6b54c2280eafefdef66fd
parent: bbaf9f73ee505dceb7fddd16cad55ab7b1506b4c
author: Noam Preil <noam@pixelhero.dev>
date: Fri Dec 12 04:53:29 EST 2025
kill: remove redundant check in note
--- a/libnpe/kill.c
+++ b/libnpe/kill.c
@@ -18,7 +18,7 @@
if(f < 0){return -1;
}
- if(msg != 0 && write(f, msg, strlen(msg)) < 0){+ if(write(f, msg, strlen(msg)) < 0){close(f);
return -1;
}
--
⑨