In case no startup function is defined, don't try to launch it.
This commit is contained in:
parent
ed9a82369f
commit
8ba2cc064b
1 changed files with 6 additions and 5 deletions
|
@ -203,10 +203,11 @@ void
|
|||
filters_postconfig(void)
|
||||
{
|
||||
struct f_val res;
|
||||
if (startup_func) {
|
||||
printf( "Launching startup function...\n" );
|
||||
if (startup_func)
|
||||
res = interpret(startup_func);
|
||||
if (res.type = F_ERROR)
|
||||
die( "Startup function resulted in error." );
|
||||
printf( "done\n" );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue