Skip to content

Commit

Permalink
Fixed geth bin path in init-geth
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenghaven committed Mar 4, 2024
1 parent 166103d commit 8345396
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions GethNode/init-geth
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def RunExecCltGeth() -> subprocess.Popen:
gethAddArgs = shlex.split(envVal)

gethCmd = [
'/usr/bin/geth',
'/opt/geth/geth',
'--authrpc.jwtsecret', '/geth/jwt.hex',
] + gethAddArgs

Expand Down Expand Up @@ -196,8 +196,10 @@ def main():
TERMINATE_EVENT.wait(1.0)
finally:
# terminate processes
TerminateProc(consCltProc)
TerminateProc(execCltProc)
if execCltProc is not None:
TerminateProc(execCltProc)
if consCltProc is not None:
TerminateProc(consCltProc)
if valiCltProc is not None:
TerminateProc(valiCltProc)

Expand Down

0 comments on commit 8345396

Please sign in to comment.