diff options
-rw-r--r-- | filter/filter.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/filter/filter.c b/filter/filter.c index 4f23d1f..902f7f7 100644 --- a/filter/filter.c +++ b/filter/filter.c @@ -203,10 +203,11 @@ void filters_postconfig(void) { struct f_val res; - printf( "Launching startup function...\n" ); - if (startup_func) + if (startup_func) { + printf( "Launching startup function...\n" ); res = interpret(startup_func); - if (res.type = F_ERROR) - die( "Startup function resulted in error." ); - printf( "done\n" ); + if (res.type = F_ERROR) + die( "Startup function resulted in error." ); + printf( "done\n" ); + } } |