mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-28 05:10:40 +00:00
Update misc/build.func
Co-authored-by: Tobias <96661824+CrazyWolf13@users.noreply.github.com>
This commit is contained in:
+1
-1
@@ -5453,7 +5453,7 @@ create_lxc_container() {
|
|||||||
msg_info "Template not present locally – will download."
|
msg_info "Template not present locally – will download."
|
||||||
NEED_DOWNLOAD=1
|
NEED_DOWNLOAD=1
|
||||||
elif [[ ! -r "$TEMPLATE_PATH" ]]; then
|
elif [[ ! -r "$TEMPLATE_PATH" ]]; then
|
||||||
msg_error "Template file exists but is not readable – check permissions."
|
msg_error "Template file exists but is not readable, check permissions."
|
||||||
exit 221
|
exit 221
|
||||||
elif [[ "$(stat -c%s "$TEMPLATE_PATH")" -lt 1000000 ]]; then
|
elif [[ "$(stat -c%s "$TEMPLATE_PATH")" -lt 1000000 ]]; then
|
||||||
if [[ -n "$ONLINE_TEMPLATE" ]]; then
|
if [[ -n "$ONLINE_TEMPLATE" ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user