mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-22 14:07:55 +00:00
parallel: Fixed bug #39572: --tty and --joblog do not work
This commit is contained in:
parent
92773c7899
commit
3f0c1c9b34
|
@ -4431,9 +4431,6 @@ sub print {
|
||||||
# cleanup tmp files if --files was set
|
# cleanup tmp files if --files was set
|
||||||
unlink $self->fd_file_name(1);
|
unlink $self->fd_file_name(1);
|
||||||
}
|
}
|
||||||
# Only relevant for grouping
|
|
||||||
$Global::grouped or return;
|
|
||||||
my $command = $self->sshlogin_wrap();
|
|
||||||
|
|
||||||
if($Global::joblog) {
|
if($Global::joblog) {
|
||||||
my $cmd;
|
my $cmd;
|
||||||
|
@ -4453,6 +4450,10 @@ sub print {
|
||||||
$self->set_job_in_joblog();
|
$self->set_job_in_joblog();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Printing is only relevant for grouped output.
|
||||||
|
$Global::grouped or return;
|
||||||
|
my $command = $self->sshlogin_wrap();
|
||||||
|
|
||||||
if(($opt::dryrun or $Global::verbose) and $Global::grouped) {
|
if(($opt::dryrun or $Global::verbose) and $Global::grouped) {
|
||||||
if($Global::verbose <= 1) {
|
if($Global::verbose <= 1) {
|
||||||
print STDOUT $self->replaced(),"\n";
|
print STDOUT $self->replaced(),"\n";
|
||||||
|
|
Loading…
Reference in a new issue