aboutsummaryrefslogtreecommitdiff
path: root/contrib/seeds/generate-seeds.py
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/seeds/generate-seeds.py')
-rwxr-xr-xcontrib/seeds/generate-seeds.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/seeds/generate-seeds.py b/contrib/seeds/generate-seeds.py
index b0ac92ae03..28068a7523 100755
--- a/contrib/seeds/generate-seeds.py
+++ b/contrib/seeds/generate-seeds.py
@@ -114,7 +114,7 @@ def process_nodes(g, f, structname, defaultport):
def main():
if len(sys.argv)<2:
print(('Usage: %s <path_to_nodes_txt>' % sys.argv[0]), file=sys.stderr)
- exit(1)
+ sys.exit(1)
g = sys.stdout
indir = sys.argv[1]
g.write('#ifndef BITCOIN_CHAINPARAMSSEEDS_H\n')