From 8dcc7c5ef45cf5032dca7a308ffe17d3935e62d5 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Sat, 27 Feb 2010 14:05:10 +0000 Subject: Convert to source format 3.0 (quilt). --- debian/patches/ssh-copy-id-status-check.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 debian/patches/ssh-copy-id-status-check.patch (limited to 'debian/patches/ssh-copy-id-status-check.patch') diff --git a/debian/patches/ssh-copy-id-status-check.patch b/debian/patches/ssh-copy-id-status-check.patch new file mode 100644 index 000000000..4f7fb4dfb --- /dev/null +++ b/debian/patches/ssh-copy-id-status-check.patch @@ -0,0 +1,13 @@ +Index: b/contrib/ssh-copy-id +=================================================================== +--- a/contrib/ssh-copy-id ++++ b/contrib/ssh-copy-id +@@ -19,7 +19,7 @@ + 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 -- cgit v1.2.3