From a433736669864e51b5b81353d0cdaa2f5856aa44 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Tue, 17 Jul 2007 09:30:26 +0000 Subject: * ssh-copy-id checks the exit status of ssh-add -L (thanks, Adeodato Simó; closes: #221675). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- contrib/ssh-copy-id | 2 +- debian/changelog | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/contrib/ssh-copy-id b/contrib/ssh-copy-id index 1555b5d37..84db5db51 100644 --- a/contrib/ssh-copy-id +++ b/contrib/ssh-copy-id @@ -19,7 +19,7 @@ if [ "-i" = "$1" ]; then shift # and this should leave $1 as the target name fi else - if [ x$SSH_AUTH_SOCK != x ] ; then + if [ x$SSH_AUTH_SOCK != x ] && ssh-add -L >/dev/null 2>&1; then GET_ID="$GET_ID ssh-add -L" fi fi diff --git a/debian/changelog b/debian/changelog index 63b80dbc5..77a063bca 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,8 @@ openssh (1:4.6p1-5) UNRELEASED; urgency=low * Identify ssh as a metapackage rather than a transitional package. It's still useful as a quick way to install both the client and the server. + * ssh-copy-id checks the exit status of ssh-add -L (thanks, Adeodato Simó; + closes: #221675). * debconf template translations: - Update Catalan (thanks, Jordà Polo; closes: #431970). -- cgit v1.2.3