summaryrefslogtreecommitdiff
path: root/src/ipc.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-03-02 21:11:12 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-03-02 21:11:12 +0200
commit76f9ab985c135c6f691276b4edd0c340a6bc2de1 (patch)
tree530f06e4118c82ef564cdc34faee464299c82bdf /src/ipc.c
parent12878147d71c4551722d3cc3f54af20a306faa26 (diff)
Cleanup
Diffstat (limited to 'src/ipc.c')
-rw-r--r--src/ipc.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/ipc.c b/src/ipc.c
index 6c528468..b0e996fb 100644
--- a/src/ipc.c
+++ b/src/ipc.c
@@ -217,10 +217,7 @@ iString *communicate_Ipc(const iString *command) {
217} 217}
218 218
219void signal_Ipc(iProcessId pid) { 219void signal_Ipc(iProcessId pid) {
220 if (kill(pid, SIGUSR1)) { 220 kill(pid, SIGUSR1);
221 printf("kill failed: %s\n", strerror(errno));
222 fflush(stdout);
223 }
224} 221}
225 222
226#endif 223#endif
@@ -343,4 +340,4 @@ void signal_Ipc(iProcessId pid) {
343 iUnused(pid); 340 iUnused(pid);
344} 341}
345 342
346#endif \ No newline at end of file 343#endif