diff options
Diffstat (limited to 'discover/pb-discover.c')
-rw-r--r-- | discover/pb-discover.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/discover/pb-discover.c b/discover/pb-discover.c index c16d690..26df9b3 100644 --- a/discover/pb-discover.c +++ b/discover/pb-discover.c @@ -158,8 +158,6 @@ int main(int argc, char *argv[]) signal(SIGINT, sigint_handler); - config_init(NULL); - if (opts.no_autoboot == opt_yes) config_set_autoboot(false); @@ -173,6 +171,8 @@ int main(int argc, char *argv[]) if (!procset) return EXIT_FAILURE; + config_init(NULL); + network = network_init(server, waitset, opts.dry_run == opt_yes); if (!network) return EXIT_FAILURE; |