git: 84d8d2878a6e - main - rc.d/bgfsck: use the correct variable name

From: Alexander Leidinger <netchild_at_FreeBSD.org>
Date: Fri, 14 Aug 2026 07:59:14 UTC
The branch main has been updated by netchild:

URL: https://cgit.FreeBSD.org/src/commit/?id=84d8d2878a6efbb2c97a591054f1fc42b7d406ab

commit 84d8d2878a6efbb2c97a591054f1fc42b7d406ab
Author:     Alexander Leidinger <netchild@FreeBSD.org>
AuthorDate: 2026-08-14 07:42:47 +0000
Commit:     Alexander Leidinger <netchild@FreeBSD.org>
CommitDate: 2026-08-14 07:42:47 +0000

    rc.d/bgfsck: use the correct variable name
    
    The name of the script and the name used internally for rc.conf differ,
    as such the hardcoded disabling of service jails for the didn't work.
    Fix by using the correct name.
    Fixes:          f99f0ee14e3af rc.d: add a service jails config to all base system services
---
 libexec/rc/rc.d/bgfsck | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libexec/rc/rc.d/bgfsck b/libexec/rc/rc.d/bgfsck
index dd5c330c3d11..53d011ab4df3 100755
--- a/libexec/rc/rc.d/bgfsck
+++ b/libexec/rc/rc.d/bgfsck
@@ -48,6 +48,6 @@ bgfsck_start()
 load_rc_config $name
 
 # doesn't make sense to run in a svcj
-bgfsck_svcj="NO"
+background_fsck_svcj="NO"
 
 run_rc_command "$1"