summaryrefslogtreecommitdiff
path: root/src/op_mode/ppp-server-ctrl.py
diff options
context:
space:
mode:
authorsever-sever <v.gletenko@vyos.io>2021-03-20 12:55:08 +0000
committersever-sever <v.gletenko@vyos.io>2021-03-20 12:55:08 +0000
commit03ed48a393d1fa5c8d8b790df783338a38eb9108 (patch)
treea3eccfcb56b106a7baa7bf554868e0453d9500ea /src/op_mode/ppp-server-ctrl.py
parentb7386d3d3c98bb1894a8ceea56e880ae1c83c27a (diff)
downloadvyos-1x-03ed48a393d1fa5c8d8b790df783338a38eb9108.tar.gz
vyos-1x-03ed48a393d1fa5c8d8b790df783338a38eb9108.zip
op-mode: T3403: Fix show pppoe sessions interupt
Diffstat (limited to 'src/op_mode/ppp-server-ctrl.py')
-rwxr-xr-xsrc/op_mode/ppp-server-ctrl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/op_mode/ppp-server-ctrl.py b/src/op_mode/ppp-server-ctrl.py
index 8a4e846b2..670cdf879 100755
--- a/src/op_mode/ppp-server-ctrl.py
+++ b/src/op_mode/ppp-server-ctrl.py
@@ -61,7 +61,7 @@ def main():
if not err:
try:
print(output)
- except BrokenPipeError:
+ except:
sys.exit(0)
else:
print("{} server is not running".format(args.proto))