From 7f6abb6ca8756748b3e2e8f11471134c89a73017 Mon Sep 17 00:00:00 2001 From: Philipp Schafft Date: Tue, 1 Aug 2023 23:53:57 +0000 Subject: [PATCH] Fix: Typo SROUCE_HIDDEN -> SOURCE_HIDDEN Thanks to Jordan Erickson for finding this. --- src/event_exec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/event_exec.c b/src/event_exec.c index da55d382..a146f34b 100644 --- a/src/event_exec.c +++ b/src/event_exec.c @@ -182,7 +182,8 @@ static inline void __setup_environ(ice_config_t *config, event_exec_t *self, eve if (source) { __update_environ("SOURCE_MOUNTPOINT", source->mount); __update_environ("SOURCE_PUBLIC", source->yp_public ? "true" : "false"); - __update_environ("SROUCE_HIDDEN", source->hidden ? "true" : "false"); + __update_environ("SOURCE_HIDDEN", source->hidden ? "true" : "false"); + __update_environ("SROUCE_HIDDEN", source->hidden ? "true" : "false"); /* Typo, kept for compatibility */ } avl_tree_unlock(global.source_tree); }