diff --git a/src/conf.c b/src/conf.c index a01adbf5..1cfcd872 100644 --- a/src/conf.c +++ b/src/conf.c @@ -348,8 +348,11 @@ static void parse_kernel_loglevel(void) */ void conf_parse_cmdline(int argc, char *argv[]) { + const char *ptr; + /* Set up defaults */ - fstab = strdup(FINIT_FSTAB); + if ((ptr = FINIT_FSTAB)) + fstab = strdup(ptr); finit_conf = strdup(FINIT_CONF); finit_rcsd = strdup(FINIT_RCSD); path = getenv("PATH");