Skip to content

Commit

Permalink
Fixing -direct (#689)
Browse files Browse the repository at this point in the history
  • Loading branch information
jglick authored Oct 23, 2023
1 parent 3dd999d commit 78543a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/hudson/remoting/Launcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ public void run() throws CmdLineException, IOException, InterruptedException {
if(connectionTarget!=null) {
runAsTcpClient();
} else
if (agentJnlpURL != null || !urls.isEmpty()) {
if (agentJnlpURL != null || !urls.isEmpty() || directConnection != null) {
if (agentJnlpURL != null) {
bootstrapInboundAgent();
}
Expand Down

0 comments on commit 78543a9

Please sign in to comment.