Load geom_gate.ko module after parsing arguments.
MFC after: 3 days
This commit is contained in:
parent
16dc6e122a
commit
2964aeb34a
@ -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