Add --start-daemon option to ui programs
[petitboot] / ui / twin / main-generic.c
index 5020fa2f345ff8319a8805f07de400fc3b073379..53c32dda750b81a005f20621c7b87ec81de0f81f 100644 (file)
@@ -327,7 +327,8 @@ int main(int argc, char *argv[])
                return EXIT_FAILURE;
        }
 
-       client = pbt_client_init(opts.backend, 900, 300, kexec_cb);
+       client = pbt_client_init(opts.backend, 900, 300, kexec_cb,
+               opts.start_daemon);
 
        if (!client) {
                ui_result = EXIT_FAILURE;