From 03ed48a393d1fa5c8d8b790df783338a38eb9108 Mon Sep 17 00:00:00 2001 From: sever-sever Date: Sat, 20 Mar 2021 12:55:08 +0000 Subject: op-mode: T3403: Fix show pppoe sessions interupt --- src/op_mode/ppp-server-ctrl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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)) -- cgit v1.2.3