summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Kocialkowski2023-07-03 11:45:19 +0200
committerPaul Kocialkowski2023-07-03 11:45:19 +0200
commitec01b84152fd3817e056fc4e144bb90205c6f986 (patch)
treed8c6d4bb4501c8b8de67b59c88154277b132e9c7
parentb615d272427a918316c9b998ee68696c8396bea4 (diff)
host-control: Fixup variable name
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
-rwxr-xr-xhost-control6
1 files changed, 4 insertions, 2 deletions
diff --git a/host-control b/host-control
index 25de156..b4c1e9b 100755
--- a/host-control
+++ b/host-control
@@ -457,19 +457,21 @@ class host_control():
def system_daemon_status(self, host):
command = [ "systemctl", "status" ]
+
self.host_call(host, command)
def system_daemon_log(self, host):
command = [ "journalctl", "-n", "50", "-fb" ]
+
self.host_call(host, command)
def system_daemon_reload(self, host):
- arguments = [ "systemctl", "daemon-reload" ]
+ command = [ "systemctl", "daemon-reload" ]
self.host_call(host, command)
def system_docker_status(self, host):
- arguments = [ "docker", "ps" ]
+ command = [ "docker", "ps" ]
self.host_call(host, command)