Skip to content

Commit

Permalink
fix npe when starting shell
Browse files Browse the repository at this point in the history
  • Loading branch information
koentsje committed Aug 7, 2013
1 parent 3306409 commit 7731f9e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public void setStdErr(OutputStream os) {
@Override
public void startShell() throws Exception
{
if (console.isRunning()) return;
if (console != null && console.isRunning()) return;
initShell();
console.start();
}
Expand Down

0 comments on commit 7731f9e

Please sign in to comment.