Skip to content

Commit

Permalink
Merge pull request #165 from BassT23/BassT23-patch-1
Browse files Browse the repository at this point in the history
fix #164
  • Loading branch information
BassT23 authored Dec 3, 2024
2 parents ecd72e1 + f07f417 commit 263d12a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# shellcheck disable=SC2317
# shellcheck disable=SC2320

VERSION="4.2"
VERSION="4.2.1"

# Variable / Function
LOCAL_FILES="/etc/ultimate-updater"
Expand Down Expand Up @@ -704,8 +704,7 @@ UPDATE_VM () {
fi
SSH_CONNECTION=true
OS_BASE=$(qm config "$VM" | grep ostype)
IS_TEMPLATE=$(qm config "$VM" | grep template)
if [[ "$IS_TEMPLATE" =~ 1 ]]; then
if (qm config "$VM" | grep template); then
echo -e "${OR}$VM is a template - skipping the update${CL}\n"
return
fi
Expand Down

0 comments on commit 263d12a

Please sign in to comment.