aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dmon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dmon.c b/src/dmon.c
index 89ef80d..fff9a55 100644
--- a/src/dmon.c
+++ b/src/dmon.c
@@ -214,6 +214,6 @@ dmon_stop (void)
if (!dpid)
return;
- if (kill ((pid_t)dpid, SIGINT) < 0)
+ if (kill ((pid_t)dpid, SIGINT) < 0 && errno != ESRCH)
EXIT (_("Could not stop calcurse daemon: %s\n"), strerror (errno));
}