net-im/dendrite: correct call to checkpath

Signed-off-by: Shin'ya Minazuki <shinyoukai@laidback.moe>
This commit is contained in:
Shin'ya Minazuki
2026-05-12 11:36:41 -03:00
parent c7b0a3e426
commit 5d3ec9af35

View File

@@ -17,7 +17,8 @@ depend() {
} }
start_pre() { start_pre() {
if ! checkpath --file /etc/${RC_SVCNAME}.yaml -; then ebegin "Checking for the existence of /etc/${RC_SVCNAME}.yaml"
if ! checkpath --file /etc/${RC_SVCNAME}.yaml; then
eerror "You need a configuration file to proceed" eerror "You need a configuration file to proceed"
eerror "See /usr/sbin/dendrite-generate-config" eerror "See /usr/sbin/dendrite-generate-config"
fi fi