summaryrefslogtreecommitdiffstats
path: root/gearman/lsWorker.py
diff options
context:
space:
mode:
Diffstat (limited to 'gearman/lsWorker.py')
-rw-r--r--gearman/lsWorker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gearman/lsWorker.py b/gearman/lsWorker.py
index b619fb1..93c72e9 100644
--- a/gearman/lsWorker.py
+++ b/gearman/lsWorker.py
@@ -22,7 +22,7 @@ def lsWorker(worker, job):
user = "root"
sshopts = "-o PasswordAuthentication=no -a"
keyfile = "/etc/systemd/workers.ssh/id_rsa"
- remotecmd = "ls -al"
+ remotecmd = "ls -al /proc/"
cmd = "ssh -p {p} -l {l} -i {i} {o} {h} {r}".format(p=port, l=user, i=keyfile, o=sshopts, h=host, r=remotecmd)
print cmd