Fix typo in variable name that end up breaking nanobsd images. Fixes #5956

This commit is contained in:
Renato Botelho 2016-03-06 11:32:09 -03:00
parent 3ad375d487
commit 96f22d875b

View File

@ -482,7 +482,7 @@ nanobsd_image_filename() {
local _type="$2"
local _upgrade="$3"
if [ -z "$upgrade" ]; then
if [ -z "$_upgrade" ]; then
local _template=${NANOBSD_IMG_TEMPLATE}
else
local _template=${NANOBSD_UPGRADE_TEMPLATE}