Fix sysrc path

This commit is contained in:
JRGTH
2023-05-01 12:46:42 -04:00
parent 88b2afffc1
commit e06551a83e
3 changed files with 3 additions and 2 deletions

View File

@@ -1254,7 +1254,7 @@ update_config()
fi
# Update the bootstrap urls accordingly.
if ! sysrc -n bastille_url_hardenedbsd | grep -q "${URL_HARDENEDBSD}"; then
if ! sysrc -f ${BASTILLECONF} -n bastille_url_hardenedbsd | grep -q "${URL_HARDENEDBSD}"; then
sysrc -f ${BASTILLECONF} bastille_url_hardenedbsd="${URL_HARDENEDBSD}"
fi
}