Skip to content

Commit

Permalink
jobs: make sure return code does not contain newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
sni committed Sep 30, 2024
1 parent caa3fcd commit bc32ae0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Thruk/Utils/External.pm
Original file line number Diff line number Diff line change
Expand Up @@ -760,6 +760,7 @@ sub wait_for_peer_job {
sleep($poll_interval);
}
&{$print_remaining}();
chomp($jobdata->{'rc'}) if $jobdata;
return($jobdata);
}

Expand Down

0 comments on commit bc32ae0

Please sign in to comment.