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

Alexander Leidinger <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.src,gmane.os.freebsd.current.scm
Message-ID <[email protected]>
The branch main has been updated by netchild:

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

commit 84d8d2878a6efbb2c97a591054f1fc42b7d406ab
Author:     Alexander Leidinger <[email protected]>
AuthorDate: 2026-08-14 07:42:47 +0000
Commit:     Alexander Leidinger <[email protected]>
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"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.