diff --git a/lib/ulib/apache.tools b/lib/ulib/apache.tools index a5b12d9..8445fcb 100644 --- a/lib/ulib/apache.tools +++ b/lib/ulib/apache.tools @@ -750,14 +750,15 @@ function apacheconfig_initvars() { function apacheconfig_loadconf() { local config modified - local destdir="$1" + local destdir="$1" autocreate __template_set_destdir destdir autocreate "$TEMPLATECTL_NAME" || return 1 setx config=templatectl_config "$destdir" modified= templatectl_loadvars "$config" && modified=1 - upvar config "$config" + upvars config "$config" modified "$modified" \ + destdir "$destdir" autocreate "$autocreate" } function apacheconfig_sysinfos() {