mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-22 21:51:04 +01:00
Load geom_gate.ko module after parsing arguments.
MFC after: 3 days
This commit is contained in:
parent
16dc6e122a
commit
2964aeb34a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=214273
@ -701,8 +701,6 @@ main(int argc, char *argv[])
|
||||
int debuglevel;
|
||||
sigset_t mask;
|
||||
|
||||
g_gate_load();
|
||||
|
||||
foreground = false;
|
||||
debuglevel = 0;
|
||||
pidfile = HASTD_PIDFILE;
|
||||
@ -736,6 +734,8 @@ main(int argc, char *argv[])
|
||||
|
||||
pjdlog_debug_set(debuglevel);
|
||||
|
||||
g_gate_load();
|
||||
|
||||
pfh = pidfile_open(pidfile, 0600, &otherpid);
|
||||
if (pfh == NULL) {
|
||||
if (errno == EEXIST) {
|
||||
|
Loading…
Reference in New Issue
Block a user