summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorArtyom V. Poptsov <poptsov.artyom@gmail.com>2015-11-01 09:13:11 +0300
committerArtyom V. Poptsov <poptsov.artyom@gmail.com>2015-11-01 09:13:11 +0300
commiteed3bba0828efc900ed6515868e24aecef8b4a7c (patch)
tree25e0c788fe14a8e52a242e6d3dbff409ba49be50 /examples
parentMerge branch 'master' into wip-sftp (diff)
parentdoc/api-channels.texi: Update (diff)
downloadguile-ssh-eed3bba0828efc900ed6515868e24aecef8b4a7c.tar.gz
Merge branch 'master' into wip-sftp
Diffstat (limited to 'examples')
-rw-r--r--examples/sssh.scm.in9
1 files changed, 4 insertions, 5 deletions
diff --git a/examples/sssh.scm.in b/examples/sssh.scm.in
index bb1f79e..dc9381d 100644
--- a/examples/sssh.scm.in
+++ b/examples/sssh.scm.in
@@ -5,7 +5,7 @@
;;; sssh.scm -- Scheme Secure Shell.
-;; Copyright (C) 2013, 2014 Artyom V. Poptsov <poptsov.artyom@gmail.com>
+;; Copyright (C) 2013, 2014, 2015 Artyom V. Poptsov <poptsov.artyom@gmail.com>
;;
;; This program is free software: you can redistribute it and/or
;; modify it under the terms of the GNU General Public License as
@@ -25,7 +25,7 @@
;;; Commentary:
;; This program is aimed to demonstrate some features of Guile-SSH
-;; library. See https://github.com/artyom-poptsov/libguile-ssh
+;; library. See https://github.com/artyom-poptsov/guile-ssh
;;; Code:
@@ -64,9 +64,8 @@
;;; Helper procedures
(define (handle-error session)
- "Handle a SSH error."
- (display (get-error session))
- (newline)
+ "Handle an SSH error; exit with an error code."
+ (write-line (get-error session))
(exit 1))
(define (print-debug msg)