Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 250725aa authored by Randy Dunlap's avatar Randy Dunlap Committed by Sam Ravnborg
Browse files

kconfig: exit if no beginning filename



If the beginning Kconfig file is missing, config segfaults so it might as
well exit after the error message.

Signed-off-by: default avatarRandy Dunlap <rdunlap@xenotime.net>
Cc: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent e55a3e8a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -539,6 +539,7 @@ int main(int ac, char **av)
  	name = av[i];
	if (!name) {
		printf(_("%s: Kconfig file missing\n"), av[0]);
		exit(1);
	}
	conf_parse(name);
	//zconfdump(stdout);