Skip to content

Commit

Permalink
confd: fix copy-paste error in runtime condition [skip ci]
Browse files Browse the repository at this point in the history
We should only call 'error' in case loading failure-config fails, not if
loading startup-config fails. Unclear how this passed testing, must have
been a last minute change that got untested.

Found during integration in customer's br2-external.

Signed-off-by: Joachim Wiberg <[email protected]>
  • Loading branch information
troglobit committed Oct 12, 2023
1 parent b44e303 commit 17b6c23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/confd/confd.conf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ run name:failure log:prio:user.critical norestart if:<run/startup/failure> \
[S] <pid/confd> /usr/libexec/confd/load failure-config \
-- Loading failure-config

run name:error :2 log:console norestart if:<run/startup/failure> \
run name:error :2 log:console norestart if:<run/failure/failure> \
[S] /usr/libexec/confd/error --

service name:netopeer log \
Expand Down

0 comments on commit 17b6c23

Please sign in to comment.