mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
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: Randy Dunlap <rdunlap@xenotime.net> Cc: Roman Zippel <zippel@linux-m68k.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
This commit is contained in:
parent
e55a3e8aed
commit
250725aa13
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue