Skip to content

Commit 2443018

Browse files
committed
Merge branch 'mytonctrl2_dev' of github.com:ton-blockchain/mytonctrl into mytonctrl2_dev
2 parents 74147cb + 8a49c06 commit 2443018

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

mytoninstaller/mytoninstaller.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,10 @@ def Status(local, args):
136136

137137
def restart_node():
138138
exit_code = run_as_root(["systemctl", "daemon-reload"])
139-
if not exit_code:
139+
if exit_code:
140140
raise Exception(f"`systemctl daemon-reload` failed with exit code {exit_code}")
141141
exit_code = run_as_root(["systemctl", "restart", "validator"])
142-
if not exit_code:
142+
if exit_code:
143143
raise Exception(f"`systemctl restart validator` failed with exit code {exit_code}")
144144
#end define
145145

mytoninstaller/node_args.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ def get_node_args(command: str = None):
2626
elif key:
2727
result[key] = c
2828
key = ''
29+
if key:
30+
result[key] = ''
2931
return result
3032

3133

0 commit comments

Comments
 (0)