diff --git a/hub/onboard-spoke.sh b/hub/onboard-spoke.sh index ef41cea..fb8b162 100755 --- a/hub/onboard-spoke.sh +++ b/hub/onboard-spoke.sh @@ -182,7 +182,7 @@ for line in lines: in_section = False if in_section and line.startswith("upstreams =") and prefix in line: print("yes") - raise SystemExit + sys.exit(0) print("no") PYEOF )