1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-05 15:25:49 +02:00

(cleanup) Fix unnecessary cought NPE when telnet has no file subsystem on same host

This commit is contained in:
Martin Oberhuber 2007-08-17 11:17:07 +00:00
parent 032a56854e
commit 194db3948a

View file

@ -63,7 +63,7 @@ public class TelnetServiceCommandShell extends ServiceCommandShell {
public Object getContext()
{
String workingDir = _workingDir;
if (workingDir != null && workingDir.length() > 0)
if (workingDir != null && workingDir.length() > 0 && _fs != null)
{
try
{