From 1a73b890cfdc3c4971311e5ae737074498e9ff99 Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Thu, 5 Apr 2007 19:21:03 +1000 Subject: Stop on first valid config found Removed the stop case during testing, so put it back now. Signed-off-by: Jeremy Kerr --- devices/parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devices/parser.c b/devices/parser.c index b9edff7..d1cdb43 100644 --- a/devices/parser.c +++ b/devices/parser.c @@ -27,7 +27,7 @@ void iterate_parsers(const char *devpath, const char *mountpoint) pb_log("\ttrying parser '%s'\n", parsers[i]->name); /* just use a dummy device path for now */ if (parsers[i]->parse(devpath, mountpoint)) - /*return*/; + return; } pb_log("\tno boot_options found\n"); } -- cgit v1.2.1