net-im/dendrite: correct call to checkpath
Signed-off-by: Shin'ya Minazuki <shinyoukai@laidback.moe>
This commit is contained in:
@@ -17,7 +17,8 @@ depend() {
|
||||
}
|
||||
|
||||
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 "See /usr/sbin/dendrite-generate-config"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user