]> git.ozlabs.org Git - petitboot/blobdiff - discover/device-handler.c
discover: clear default_timeout waiter on timeout
[petitboot] / discover / device-handler.c
index 02ae6884db47876cffb740d86841c6f9c40afc82..95d203920d6f72bf5176c2629e7d2f4aa430a447 100644 (file)
@@ -327,6 +327,8 @@ static int default_timeout(void *arg)
                return 0;
        }
 
+       handler->timeout_waiter = NULL;
+
        pb_log("Timeout expired, booting default option %s\n", opt->option->id);
 
        boot(handler, handler->default_boot_option, NULL,