Skip to content

Commit 263d12a

Browse files
authored
Merge pull request #165 from BassT23/BassT23-patch-1
fix #164
2 parents ecd72e1 + f07f417 commit 263d12a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

update.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# shellcheck disable=SC2317
1010
# shellcheck disable=SC2320
1111

12-
VERSION="4.2"
12+
VERSION="4.2.1"
1313

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

0 commit comments

Comments
 (0)