diff options
Diffstat (limited to 'includes/filetransfer')
-rw-r--r-- | includes/filetransfer/ssh.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/includes/filetransfer/ssh.inc b/includes/filetransfer/ssh.inc index 43ec3249e..dd7243e92 100644 --- a/includes/filetransfer/ssh.inc +++ b/includes/filetransfer/ssh.inc @@ -72,7 +72,8 @@ class FileTransferSSH extends FileTransfer implements FileTransferChmodInterface return TRUE; } return FALSE; - } else { + } + else { throw new FileTransferException('Cannot check @path.', NULL, array('@path' => $path)); } } @@ -85,7 +86,8 @@ class FileTransferSSH extends FileTransfer implements FileTransferChmodInterface return TRUE; } return FALSE; - } else { + } + else { throw new FileTransferException('Cannot check @path.', NULL, array('@path' => $path)); } } |