net-dns/knot-resolver: fix typo in initscript

checkconfig was never triggered during restart

Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/1292
Merges: https://codeberg.org/gentoo/gentoo/pulls/1292
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Nicolas PARLANT
2026-06-23 05:21:45 +02:00
committed by Sam James
parent 252278852f
commit ff495376b3
2 changed files with 1 additions and 1 deletions

View File

@@ -55,7 +55,7 @@ start_pre() {
}
stop_pre() {
if [ "${RC_CMD}" != "restart" ]; then
if [ "${RC_CMD}" = "restart" ]; then
checkconfig || return 1
fi
}