summaryrefslogtreecommitdiffstats
path: root/src/config.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.y')
-rw-r--r--src/config.y5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/config.y b/src/config.y
index 5ef2d1b..8c53b07 100644
--- a/src/config.y
+++ b/src/config.y
@@ -413,7 +413,12 @@ on_disestablish: sync_def_async TOK_STRING {
;
on_verify: sync_def_async TOK_STRING {
+#ifdef WITH_VERIFY
fastd_shell_command_set(&conf.on_verify, $2->str, $1);
+#else
+ fastd_config_error(&@$, filename, depth, "`on verify' is not supported by this version of fastd");
+ YYERROR;
+#endif
}
;