fixes checkconfig in open-rc init file
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Marvin Steadfast 2021-04-27 09:29:15 +02:00
parent b013451c4c
commit b43c287900

View File

@ -21,6 +21,7 @@ checkconfig() {
} }
start() { start() {
checkconfig || return 1
ebegin "Starting $description for $CONF" ebegin "Starting $description for $CONF"
/usr/local/bin/wg-quicker up "$CONF" /usr/local/bin/wg-quicker up "$CONF"
eend $? "Failed to start $description for $CONF" eend $? "Failed to start $description for $CONF"