Commit e0e52b77 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(initialize): Write an "exiting" message when the lock cannot be obtained.

parent 46b0f620
/*
* $Id: ramkomd.c,v 0.89 1999/06/05 20:48:19 ceder Exp $
* $Id: ramkomd.c,v 0.90 1999/06/20 10:34:41 ceder Exp $
* Copyright (C) 1991-1999 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -44,7 +44,7 @@
#endif
static const char *
rcsid = "$Id: ramkomd.c,v 0.89 1999/06/05 20:48:19 ceder Exp $";
rcsid = "$Id: ramkomd.c,v 0.90 1999/06/20 10:34:41 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -428,6 +428,7 @@ initialize(const char *config_file)
mode. This is mainly here for the benefit of the test suite,
but is could also be useful to be able to attach a debugger and
do pre-mortem debugging of the process at this point. */
kom_log("Cannot obtain database lock. Exiting.\n");
if (buglevel > 0)
{
kom_log("Press enter to terminate lyskomd\n");
......
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