summaryrefslogtreecommitdiff
path: root/debian/patches/ssh-copy-id-status-check.patch
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2010-02-27 14:05:10 +0000
committerColin Watson <cjwatson@debian.org>2010-02-27 14:05:10 +0000
commit8dcc7c5ef45cf5032dca7a308ffe17d3935e62d5 (patch)
tree2e0d8058bdfc24a60a20c5bcbfd1075ef1048ff3 /debian/patches/ssh-copy-id-status-check.patch
parente44a1fb6e8e59e67e5c8b6e83c0d8566d146aad9 (diff)
Convert to source format 3.0 (quilt).
Diffstat (limited to 'debian/patches/ssh-copy-id-status-check.patch')
-rw-r--r--debian/patches/ssh-copy-id-status-check.patch13
1 files changed, 13 insertions, 0 deletions
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 @@
1Index: b/contrib/ssh-copy-id
2===================================================================
3--- a/contrib/ssh-copy-id
4+++ b/contrib/ssh-copy-id
5@@ -19,7 +19,7 @@
6 shift # and this should leave $1 as the target name
7 fi
8 else
9- if [ x$SSH_AUTH_SOCK != x ] ; then
10+ if [ x$SSH_AUTH_SOCK != x ] && ssh-add -L >/dev/null 2>&1; then
11 GET_ID="$GET_ID ssh-add -L"
12 fi
13 fi