}
if (!child)
continue;
- if (line[strlen(line) - 1] == '?') {
+ if (strlen(line) > 0 && line[strlen(line) - 1] == '?') {
printf("\n%s\n", child->sym->help ?
child->sym->help : nohelp_text);
continue;
check_conf(&rootmenu);
} while (conf_cnt);
if (conf_write(NULL)) {
- fprintf(stderr, _("\n*** Error during writing of the kernel configuration.\n\n"));
+ fprintf(stderr, _("\n*** Error during writing of the busybox configuration.\n\n"));
return 1;
}
return 0;