Skip to content

Commit 549fa79

Browse files
committed
Fix parsing of service file ExecStart line
1 parent 2bbcb34 commit 549fa79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mytoninstaller/node_args.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def get_validator_service():
1010
def get_node_start_command():
1111
service = get_validator_service()
1212
for line in service.split('\n'):
13-
if 'ExecStart' in line:
13+
if line.startswith('ExecStart'):
1414
return line.split('=')[1].strip()
1515
#end define
1616

0 commit comments

Comments
 (0)