mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-21 23:20:23 +00:00
Fix possible NPE [stage]
This commit is contained in:
parent
ff4587aae9
commit
17c8913bfc
2 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ public interface ShellControl extends ProcessControl {
|
|||
ShellDialect getTargetTerminalShellDialect();
|
||||
|
||||
default boolean hasLocalSystemAccess() {
|
||||
return getSystemId().equals(XPipeSystemId.getLocal());
|
||||
return getSystemId() != null && getSystemId().equals(XPipeSystemId.getLocal());
|
||||
}
|
||||
|
||||
boolean isLocal();
|
||||
|
|
2
version
2
version
|
@ -1 +1 @@
|
|||
1.7.12
|
||||
1.7.12-2
|
Loading…
Reference in a new issue