diff options
author | zsdc <taras@vyos.io> | 2019-12-19 20:10:08 +0200 |
---|---|---|
committer | zsdc <taras@vyos.io> | 2019-12-19 20:10:08 +0200 |
commit | bfe4ba0873b9d337e94add5d12e6fcb46c6c0382 (patch) | |
tree | e339204e0b4c5e3e9680400fe4fc7e93f7899185 /debian | |
parent | f1cc9b0e08dfc4ae38c40f70db89b808d73fe7f9 (diff) | |
download | vyos-1x-bfe4ba0873b9d337e94add5d12e6fcb46c6c0382.tar.gz vyos-1x-bfe4ba0873b9d337e94add5d12e6fcb46c6c0382.zip |
vyos-hostsd: T1885: Fixed crash if stdout PIPE connection lost
In case if stdout PIPE were lost (for example, after systemd-journald restart), using print() will raise the exception.
This patch replaces print() to logging function, which is not sensitive to this problem. This makes vyos-hostd resistant to stdout disconnection, but of course, all logs after stdout disconnection will be lost.
Diffstat (limited to 'debian')
0 files changed, 0 insertions, 0 deletions