summaryrefslogtreecommitdiff
path: root/src/system/keepalived-fifo.py
diff options
context:
space:
mode:
authorThomas Mangin <thomas.mangin@exa.net.uk>2020-04-11 00:50:18 +0100
committerThomas Mangin <thomas.mangin@exa.net.uk>2020-04-11 14:55:15 +0100
commit52d120cfa137887a856025229421b1e01e4a7ecd (patch)
tree52cfd1ed8856f7d441f110a54279d38366debb3e /src/system/keepalived-fifo.py
parentc46c19e918edf9304fa65b678e54cb84aca245fc (diff)
downloadvyos-1x-52d120cfa137887a856025229421b1e01e4a7ecd.tar.gz
vyos-1x-52d120cfa137887a856025229421b1e01e4a7ecd.zip
util: T2226: do not use universal_newlines
Diffstat (limited to 'src/system/keepalived-fifo.py')
-rwxr-xr-xsrc/system/keepalived-fifo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/system/keepalived-fifo.py b/src/system/keepalived-fifo.py
index 2778deaab..7e2076820 100755
--- a/src/system/keepalived-fifo.py
+++ b/src/system/keepalived-fifo.py
@@ -87,7 +87,7 @@ class KeepalivedFifo:
def _run_command(self, command):
logger.debug("Running the command: {}".format(command))
try:
- cmd(command, universal_newlines=True)
+ cmd(command)
except OSError as err:
logger.error(f'Unable to execute command "{command}": {err}')