Skip to content

Commit

Permalink
Fix JENKINS-20660 - null pointer exception on first run after upgrade…
Browse files Browse the repository at this point in the history
… 0.8 to 0.9
  • Loading branch information
MarkEWaite committed Nov 27, 2013
1 parent 89b6e51 commit 8899ad4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/hudson/plugins/xshell/XShellBuilder.java
Expand Up @@ -74,7 +74,7 @@ public String getTimeAllocated() {
public XShellBuilder(final String commandLine, final Boolean executeFromWorkingDir, final String regexToKill, final String timeAllocated) {
this.commandLine = Util.fixEmptyAndTrim(commandLine);
this.executeFromWorkingDir = executeFromWorkingDir;
this.regexToKill = regexToKill;
this.regexToKill = regexToKill == null ? "" : regexToKill;
this.timeAllocated = timeAllocated;
}

Expand Down

0 comments on commit 8899ad4

Please sign in to comment.