diff options
author | sever-sever <v.gletenko@vyos.io> | 2021-03-20 12:55:08 +0000 |
---|---|---|
committer | sever-sever <v.gletenko@vyos.io> | 2021-03-20 12:55:08 +0000 |
commit | 03ed48a393d1fa5c8d8b790df783338a38eb9108 (patch) | |
tree | a3eccfcb56b106a7baa7bf554868e0453d9500ea /src/op_mode/ppp-server-ctrl.py | |
parent | b7386d3d3c98bb1894a8ceea56e880ae1c83c27a (diff) | |
download | vyos-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-x | src/op_mode/ppp-server-ctrl.py | 2 |
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)) |