summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-03-21 19:56:36 +0100
committerGitHub <noreply@github.com>2021-03-21 19:56:36 +0100
commit300f1d2962f9f3f59cc13eac7c03c21f1c9a8eb1 (patch)
treeebb770941a22d4066c0ddba9a3843a7ad0e6d09c
parent911fe645928750f3ce38061a94c9b6db50db0749 (diff)
parent03ed48a393d1fa5c8d8b790df783338a38eb9108 (diff)
downloadvyos-1x-300f1d2962f9f3f59cc13eac7c03c21f1c9a8eb1.tar.gz
vyos-1x-300f1d2962f9f3f59cc13eac7c03c21f1c9a8eb1.zip
Merge pull request #778 from sever-sever/T3403
op-mode: T3403: Fix show pppoe sessions interupt
-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))