aboutsummaryrefslogtreecommitdiff
path: root/src/config.c
diff options
context:
space:
mode:
authorFederico Angelilli <code@fedang.net>2024-12-07 00:41:01 +0100
committerFederico Angelilli <code@fedang.net>2024-12-07 00:41:01 +0100
commitfd2ef765de733fbbbb15e28c91df255da36d5338 (patch)
treeb107ca1a2e9b1b0ae1ee7534cdd4a850f52d9cb0 /src/config.c
parent4f1c110638749f0d6941967e313bdcc28b2b3485 (diff)
Add trigger actiontrunk
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.c b/src/config.c
index 6b8fc58..86d5ac2 100644
--- a/src/config.c
+++ b/src/config.c
@@ -446,6 +446,8 @@ static config_status_t config_read_action(action_t *action, const char *key, con
type = ACTION_RUN_SYNC;
else if (!strcmp(key, "run-async"))
type = ACTION_RUN_ASYNC;
+ else if (!strcmp(key, "trigger"))
+ type = ACTION_TRIGGER;
else
return CONFIG_UNKNOWN;