summaryrefslogtreecommitdiff
path: root/src/utils/vyos-config-to-commands
diff options
context:
space:
mode:
authorzsdc <taras@vyos.io>2019-12-19 20:10:08 +0200
committerzsdc <taras@vyos.io>2019-12-19 20:10:08 +0200
commitbfe4ba0873b9d337e94add5d12e6fcb46c6c0382 (patch)
treee339204e0b4c5e3e9680400fe4fc7e93f7899185 /src/utils/vyos-config-to-commands
parentf1cc9b0e08dfc4ae38c40f70db89b808d73fe7f9 (diff)
downloadvyos-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 'src/utils/vyos-config-to-commands')
0 files changed, 0 insertions, 0 deletions