Automatically exported from code.google.com/p/parallel-ssh: This is a local copy since there appears to be no official home for this useful software any more. This version will be feature-frozen and only bugfixes applied.
What steps will reproduce the problem?
1. Create $TEMPFILE with a list of hosts
2. parallel-ssh -h $TEMPFILE -t -1 -o ${LOG_DIR} sudo -u ${USER}
/home/${USER}/scripts/online.sh &
What is the expected output? What do you see instead?
Traceback (most recent call last):
File "/usr/bin/parallel-ssh", line 115, in <module>
do_pssh(hosts, cmdline, opts)
File "/usr/bin/parallel-ssh", line 90, in do_pssh
if min(statuses) < 0:
ValueError: min() arg is an empty sequence
What version of the product are you using? On what operating system?
2.2.2-0ubuntu1 on LinuxMint12
Please provide any additional information below.
I have attached a patch with a try-except block around the failing if statement.
Original issue reported on code.google.com by andreas....@gmail.com on 29 May 2012 at 7:31
Original issue reported on code.google.com by
andreas....@gmail.com
on 29 May 2012 at 7:31Attachments: