diff options
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)) |