Fix possible NPE [stage]

This commit is contained in:
crschnick 2023-12-23 19:20:32 +00:00
parent ff4587aae9
commit 17c8913bfc
2 changed files with 2 additions and 2 deletions

View file

@ -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();

View file

@ -1 +1 @@
1.7.12
1.7.12-2