diff options
author | Thomas Mangin <thomas.mangin@exa.net.uk> | 2020-05-23 07:09:10 +0100 |
---|---|---|
committer | Thomas Mangin <thomas.mangin@exa.net.uk> | 2020-06-25 10:54:40 +0100 |
commit | d41708ee247ce5efc5dc06f2d233e8d620fc6e4a (patch) | |
tree | f6dd3730137d86c5034bf471db78e0a8aec72f80 /interface-definitions/include/interface-vrf.xml.i | |
parent | 9fc8158f98ba7154da9867d9a28f00e39f76d0e0 (diff) | |
download | vyos-1x-d41708ee247ce5efc5dc06f2d233e8d620fc6e4a.tar.gz vyos-1x-d41708ee247ce5efc5dc06f2d233e8d620fc6e4a.zip |
http-api: T2494: always exit with non zero on failure
systemd is setup with Restart=on-failure thereforer the service
will only be restarted if the daemon died and reported an error.
Previously any OsError would cause a exit(0) and therefore the
API would not have been restarted.
https://www.freedesktop.org/software/systemd/man/systemd.service.html
Diffstat (limited to 'interface-definitions/include/interface-vrf.xml.i')
0 files changed, 0 insertions, 0 deletions