summaryrefslogtreecommitdiff
path: root/src/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/init.c')
-rw-r--r--src/init.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/init.c b/src/init.c
index 3e59d4d81..109aad9e3 100644
--- a/src/init.c
+++ b/src/init.c
@@ -381,6 +381,8 @@ int init_primary(int ac, char **av)
/* Parse command line for -dir and -version options. */
parse_dir_options(ac, av);
+ /* Parse all remaining command-line options. */
+ parse_options(ac, av);
/* Chdir to Services data directory. */
if (chdir(services_dir) < 0) {
@@ -424,9 +426,6 @@ int init_secondary(int ac, char **av)
/* Add Core MSG handles */
moduleAddMsgs();
- /* Parse all remaining command-line options. */
- parse_options(ac, av);
-
/* Parse the defcon mode string if needed */
if (DefConLevel) {
if (!defconParseModeString(DefConChanModes)) {