forked from finn/tinyboard
onboard-spoke.sh: replace raise SystemExit with sys.exit(0) in union duplicate check
This commit is contained in:
@@ -182,7 +182,7 @@ for line in lines:
|
|||||||
in_section = False
|
in_section = False
|
||||||
if in_section and line.startswith("upstreams =") and prefix in line:
|
if in_section and line.startswith("upstreams =") and prefix in line:
|
||||||
print("yes")
|
print("yes")
|
||||||
raise SystemExit
|
sys.exit(0)
|
||||||
print("no")
|
print("no")
|
||||||
PYEOF
|
PYEOF
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user