diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/dmon.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -54,7 +54,7 @@ #define DMON_ABRT(...) do { \ DMON_LOG (__VA_ARGS__); \ - if (kill (getpid (), SIGINT) < 0) \ + if (kill (getpid (), SIGINT) == -1) \ { \ DMON_LOG (_("Could not stop daemon properly: %s\n"), \ strerror (errno)); \ |