network: make route_configure() return 0 on success
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 20 Oct 2020 05:20:19 +0000 (14:20 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 20 Oct 2020 05:20:22 +0000 (14:20 +0900)
commit8c212f76c246d9c3780b1de9b12dc21b8775561e
tree5bf2623fd613560595ba443d9882d9d4867950c5
parent0ce8a9d6e54f7ee04946b12fa22b0fb9fc2098f9
network: make route_configure() return 0 on success

Previously, route_configure() always returns 1 on success, and never
returns 0. It is not necessary to return positive value.
src/network/networkd-route.c