mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-09-01 06:45:27 +00:00
If there's another server running, refuse to run.
This commit is contained in:
@@ -42,7 +42,7 @@
|
|||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
static char ocopyright[] =
|
static char ocopyright[] =
|
||||||
"$Id: dhcpd.c,v 1.51 1998/04/19 23:35:26 mellon Exp $ Copyright 1995, 1996, 1997, 1998 The Internet Software Consortium.";
|
"$Id: dhcpd.c,v 1.52 1998/07/10 04:52:25 mellon Exp $ Copyright 1995, 1996, 1997, 1998 The Internet Software Consortium.";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static char copyright[] =
|
static char copyright[] =
|
||||||
@@ -250,7 +250,8 @@ int main (argc, argv, envp)
|
|||||||
close (i);
|
close (i);
|
||||||
pidfilewritten = 1;
|
pidfilewritten = 1;
|
||||||
}
|
}
|
||||||
}
|
} else
|
||||||
|
error ("There's already a DHCP server running.\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
/* If we were requested to log to stdout on the command line,
|
/* If we were requested to log to stdout on the command line,
|
||||||
|
Reference in New Issue
Block a user