mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-12-22 20:57:53 +00:00
Fixed bug #45575: -m and multiple hosts repeats first args.
This commit is contained in:
parent
cfc8501693
commit
2ca714a58e
|
@ -4777,6 +4777,7 @@ sub compute_number_of_processes {
|
|||
}
|
||||
# Cleanup: Unget the command_lines or the @args
|
||||
$Global::JobQueue->{'commandlinequeue'}->{'arg_queue'}->unget(@args);
|
||||
@args = undef;
|
||||
$Global::JobQueue->unget(@jobs);
|
||||
@jobs = undef;
|
||||
}
|
||||
|
|
|
@ -61,6 +61,9 @@ echo '### bug #44371: --trc with csh complains'
|
|||
echo '### bug #44143: csh and nice'
|
||||
parallel --nice 1 -S csh@lo setenv B {}\; echo '$B' ::: OK
|
||||
|
||||
echo '### bug #45575: -m and multiple hosts repeats first args'
|
||||
seq 1 3 | parallel -X -S 2/lo,2/: -k echo
|
||||
|
||||
EOF
|
||||
|
||||
echo
|
||||
|
|
Loading…
Reference in a new issue