mirror of
https://github.com/churchers/vm-bhyve.git
synced 2025-12-11 09:20:17 +01:00
Fix variable __maxlen to _maxlen
I did not test this, but it looks obviously like a bug.
This commit is contained in:
@@ -361,7 +361,7 @@ util::check_name(){
|
||||
local _maxlen="$2"
|
||||
|
||||
if [ ${VERSION_BSD} -ge 1300000 ]; then
|
||||
: ${__maxlen:=229}
|
||||
: ${_maxlen:=229}
|
||||
else
|
||||
: ${_maxlen:=30}
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user