lib/process: Add dry_run argument to process_init
[petitboot] / discover / pb-discover.c
index 61da5097035ff6aedf12f6ba2c3b6692a790c170..6d62e14db2b931e20afdeb55f82cebb0a8b9e31b 100644 (file)
@@ -168,7 +168,7 @@ int main(int argc, char *argv[])
        if (!server)
                return EXIT_FAILURE;
 
-       procset = process_init(server, waitset);
+       procset = process_init(server, waitset, opts.dry_run == opt_yes);
        if (!procset)
                return EXIT_FAILURE;