onboard-spoke.sh: replace raise SystemExit with sys.exit(0) in union duplicate check
This commit is contained in:
1 parent
6db5e9769e
commit
e9c1daccce
1 file changed
+1
-1
@@ -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
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user