Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
triggers: Give a name to the triggers
Baptiste Daroussin committed 5 years ago
commit 858b7eee50e25b1d0466cc977be219dbe17423bc
parent f446c79
1 file changed +1 -0
modified libpkg/triggers.c
@@ -158,6 +158,7 @@ trigger_load(int dfd, const char *name, bool cleanup_only, ucl_object_t *schema)
	}

	t = xcalloc(1, sizeof(*t));
+
	t->name = xstrdup(name);

	if (cleanup_only) {
		cleanup = ucl_object_find_key(obj, "cleanup");