summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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))