Cyberduck Mountain Duck CLI

Changeset 11524


Ignore:
Timestamp:
Jun 29, 2013 2:44:59 PM (7 years ago)
Author:
dkocher
Message:

Fix null pointer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/ch/cyberduck/core/sftp/SFTPSession.java

    r11518 r11524  
    314314    @Override
    315315    public void disconnect() {
    316         client.close(null, true);
     316        if(client != null) {
     317            client.close(null, true);
     318        }
    317319        sftp = null;
    318320        super.disconnect();
Note: See TracChangeset for help on using the changeset viewer.
swiss made software