From b7f5f9763615bc85f161b314399102a6804a5e1a Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 23 Oct 2003 13:00:35 +0000 Subject: [PATCH] Set signal again (otherwise Solaris stops) --- src/yaz-proxy-main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/yaz-proxy-main.cpp b/src/yaz-proxy-main.cpp index af64283..a4897b0 100644 --- a/src/yaz-proxy-main.cpp +++ b/src/yaz-proxy-main.cpp @@ -2,7 +2,7 @@ * Copyright (c) 1998-2003, Index Data. * See the file LICENSE for details. * - * $Id: yaz-proxy-main.cpp,v 1.23 2003-10-23 12:14:48 adam Exp $ + * $Id: yaz-proxy-main.cpp,v 1.24 2003-10-23 13:00:35 adam Exp $ */ #include @@ -121,6 +121,7 @@ int args(Yaz_Proxy *proxy, int argc, char **argv) static Yaz_Proxy *static_yaz_proxy = 0; static void sighup_handler(int num) { + signal(SIGHUP, sighup_handler); if (static_yaz_proxy) static_yaz_proxy->reconfig(); } -- 1.7.10.4