commit 9c6b495cf39e9c5946108a2f2d1f096deb221bf9 parent 6726a0e57cf2008bf99ac6fce9567e15a6dd5d08 Author: sin <sin@2f30.org> Date: Thu, 3 Jul 2014 17:07:23 +0100 Just check the argument to sighup Diffstat:
M | crond.c | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/crond.c b/crond.c @@ -322,8 +322,8 @@ reloadentries(void) static void sighup(int sig) { - (void) sig; - reload = 1; + if (sig == SIGHUP) + reload = 1; } static void