From 8ba2cc064b823274e8af043bf0676bfc252e810a Mon Sep 17 00:00:00 2001 From: Pavel Machek Date: Mon, 12 Apr 1999 12:01:59 +0000 Subject: [PATCH] In case no startup function is defined, don't try to launch it. --- filter/filter.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/filter/filter.c b/filter/filter.c index 4f23d1f0..902f7f7f 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" ); + } }