Commit 8bebd707 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Re-install the signal handler when it catches a signal.

parent 52fa36da
/*
* $Id: ramkomd.c,v 0.42 1993/10/18 12:30:34 ceder Exp $
* $Id: ramkomd.c,v 0.43 1993/11/22 19:06:35 ceder Exp $
* Copyright (C) 1991 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -31,7 +31,7 @@
* It has grown! /ceder
*/
static char *rcsid = "$Id: ramkomd.c,v 0.42 1993/10/18 12:30:34 ceder Exp $";
static char *rcsid = "$Id: ramkomd.c,v 0.43 1993/11/22 19:06:35 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -239,6 +239,7 @@ sighandler_quit (int sig)
static void
sighandler_usr1 (int sig)
{
signal(SIGUSR1, sighandler_usr1);
do_sync_db = TRUE;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment