mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
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:
committed by
Sam James
parent
252278852f
commit
ff495376b3
@@ -55,7 +55,7 @@ start_pre() {
|
||||
}
|
||||
|
||||
stop_pre() {
|
||||
if [ "${RC_CMD}" != "restart" ]; then
|
||||
if [ "${RC_CMD}" = "restart" ]; then
|
||||
checkconfig || return 1
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user