Update build.func
This commit is contained in:
@@ -3017,7 +3017,7 @@ create_lxc_container() {
|
||||
echo ""
|
||||
read -p "Download newer version? [y/N]: " answer
|
||||
case "${answer,,}" in
|
||||
y|yes)
|
||||
y | yes)
|
||||
TEMPLATE="$ONLINE_TEMPLATE"
|
||||
TEMPLATE_SOURCE="online"
|
||||
msg_ok "Using newer version: $TEMPLATE"
|
||||
@@ -3180,7 +3180,7 @@ create_lxc_container() {
|
||||
}
|
||||
else
|
||||
msg_info "Installation cancelled"
|
||||
exit 0
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
msg_error "No ${PCT_OSTYPE} templates available"
|
||||
|
||||
Reference in New Issue
Block a user