From b9dc5ca71e5de6bc92138a81a88ff9de883e88c1 Mon Sep 17 00:00:00 2001 From: Jephte Clain Date: Wed, 19 Oct 2016 11:57:35 +0400 Subject: [PATCH] bug dans apacheconfig --- lib/ulib/apache.tools | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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() {