diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-05-17 21:30:18 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-05-17 21:33:41 +0200 |
commit | ea96466e46374a810a4d21d4209e6a30feb45de3 (patch) | |
tree | 01bb4aeedca77ec6b84b904d640caf698412fc8e /src/op_mode/wireguard.py | |
parent | 69a0b0a7c6651ce9feb27d2e7626e174515e1fe3 (diff) | |
download | vyos-1x-ea96466e46374a810a4d21d4209e6a30feb45de3.tar.gz vyos-1x-ea96466e46374a810a4d21d4209e6a30feb45de3.zip |
ddclient: T3557: fix FileNotFoundError when querying status information
If ddclient is not problery configured it will start up but no status file is
generated. This commit checks if the status file exists before reading it.
(cherry picked from commit 041cea6d7a13a804b4e656778048bcefd0a46cb8)
Diffstat (limited to 'src/op_mode/wireguard.py')
0 files changed, 0 insertions, 0 deletions