summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--filter/filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/filter.c b/filter/filter.c
index 902f7f7..4d48cfb 100644
--- a/filter/filter.c
+++ b/filter/filter.c
@@ -206,7 +206,7 @@ filters_postconfig(void)
if (startup_func) {
printf( "Launching startup function...\n" );
res = interpret(startup_func);
- if (res.type = F_ERROR)
+ if (res.type == F_ERROR)
die( "Startup function resulted in error." );
printf( "done\n" );
}