mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-10-29 03:00:09 +00:00
minor fix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
d3f15fbffd
commit
b40c74a723
@ -145,6 +145,7 @@ normpath(){
|
||||
# getLatestTemplate PATTERN [VAR]
|
||||
#
|
||||
getLatestTemplate(){
|
||||
IFS=$'\n'
|
||||
local pattern=$1
|
||||
local tamplates=($(pveam available | grep $1))
|
||||
local latest=${templates[-1]}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user