aboutsummaryrefslogtreecommitdiff
path: root/files/usr/local/sbin/jailctl.freebsd_hypervisor
diff options
context:
space:
mode:
Diffstat (limited to 'files/usr/local/sbin/jailctl.freebsd_hypervisor')
-rw-r--r--files/usr/local/sbin/jailctl.freebsd_hypervisor4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/usr/local/sbin/jailctl.freebsd_hypervisor b/files/usr/local/sbin/jailctl.freebsd_hypervisor
index 03ed563..df48f57 100644
--- a/files/usr/local/sbin/jailctl.freebsd_hypervisor
+++ b/files/usr/local/sbin/jailctl.freebsd_hypervisor
@@ -1072,8 +1072,8 @@ template::download_release(){
template::release2name(){
# Convert a FreeBSD release version to a template name.
- # e.g. for "13.2-RELEASE", return "freebsd13".
- setvar "$1" "freebsd${2%.*}"
+ # e.g. for "13.2-RELEASE", return "freebsd13.2".
+ setvar "$1" "freebsd${2%-*}"
}
template::update_release(){