diff --git a/.pct-helpers b/.pct-helpers index 35c24e1..1ccc141 100644 --- a/.pct-helpers +++ b/.pct-helpers @@ -145,6 +145,7 @@ normpath(){ # getLatestTemplate PATTERN [VAR] # getLatestTemplate(){ + IFS=$'\n' local pattern=$1 local tamplates=($(pveam available | grep $1)) local latest=${templates[-1]}