提交 affd2916 编写于 作者: O Olivier Lamy

Merge pull request #409 from recampbell/master

Fix NPE in Launcher.decorateByPrefix
......@@ -652,7 +652,9 @@ public abstract class Launcher {
@Override
public Proc launch(ProcStarter starter) throws IOException {
starter.commands.addAll(0,Arrays.asList(prefix));
starter.masks = prefix(starter.masks);
if (starter.masks != null) {
starter.masks = prefix(starter.masks);
}
return outer.launch(starter);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册