git: fd7171d78f3b - stable/15 - rc.d/bgfsck: use the correct variable name

From: Alexander Leidinger <netchild_at_FreeBSD.org>
Date: Sat, 22 Aug 2026 10:43:27 UTC
The branch stable/15 has been updated by netchild:

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

commit fd7171d78f3b7b8d5d84c3e566bac3f272ac7773
Author:     Alexander Leidinger <netchild@FreeBSD.org>
AuthorDate: 2026-08-14 07:42:47 +0000
Commit:     Alexander Leidinger <netchild@FreeBSD.org>
CommitDate: 2026-08-22 10:43:17 +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
    
    (cherry picked from commit 84d8d2878a6efbb2c97a591054f1fc42b7d406ab)
---
 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"