Skip to content

Commit d20bbb8

Browse files
author
olevole
committed
fix freebsdhostversion
1 parent 96778ce commit d20bbb8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tools/makejconf

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -339,8 +339,8 @@ if [ "${allow_mount}" = "1" ]; then
339339
fi
340340
fi
341341

342-
# this feature available for FreeBSD 14.2+
343-
if [ ${freebsdhostversion} -gt 1402000 ]; then
342+
# this feature available for FreeBSD 15.0+
343+
if [ ${freebsdhostversion} -gt 1500039 ]; then
344344
if [ "${allow_suser}" = "1" ]; then
345345
echo "allow.suser = \"1\";" >> ${out}
346346
else
@@ -366,7 +366,6 @@ if [ ${freebsdhostversion} -gt 1402000 ]; then
366366
fi
367367
fi
368368

369-
370369
if [ "${allow_reserved_ports}" = "1" ]; then
371370
echo "allow.reserved_ports = \"true\";" >> ${out}
372371
else

0 commit comments

Comments
 (0)