bug dans apacheconfig

This commit is contained in:
Jephté Clain 2016-10-19 11:57:35 +04:00
parent b4ade73a8f
commit b9dc5ca71e
1 changed files with 3 additions and 2 deletions

View File

@ -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() {