From ff8383ce9092335de6c00447bb45a2a7fbbf8685 Mon Sep 17 00:00:00 2001 From: Jameson Graef Rollins Date: Sat, 21 Feb 2009 14:57:41 -0500 Subject: make sure we're explicitly capturing return codes in places where they are tested, in case things are being run set -e --- src/share/m/ssh_proxycommand | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/share/m/ssh_proxycommand') diff --git a/src/share/m/ssh_proxycommand b/src/share/m/ssh_proxycommand index bd09588..abe068d 100644 --- a/src/share/m/ssh_proxycommand +++ b/src/share/m/ssh_proxycommand @@ -18,6 +18,7 @@ # "marginal case" ouput in the case that there is not a full # validation path to the host output_no_valid_key() { + local returnCode=0 local sshKeyOffered local userID local type @@ -112,11 +113,11 @@ EOF fi ;; esac - done + done || returnCode="$?" # if no key match was made (and the "while read" subshell returned # 1) output how many keys were found - if (($? != 1)) ; then + if (( returnCode != 1 )) ; then cat <committer
path: root/tags/a5/d1
diff options
context:
space:
mode:
Diffstat (limited to 'tags/a5/d1')
-rw-r--r--tags/a5/d1/1218714131.7434944.1620848866367.JavaMail.app@ltx1-app46661.prod.linkedin.com/unread0
-rw-r--r--tags/a5/d1/154030456157.1964.8782608666143883548@auryn.jones.dk/jones0
-rw-r--r--tags/a5/d1/154030456157.1964.8782608666143883548@auryn.jones.dk/sent0
-rw-r--r--tags/a5/d1/154030456157.1964.8782608666143883548@auryn.jones.dk/signed0
-rw-r--r--tags/a5/d1/20070309030248.1BC074FB60@perilin.jones.dk/sys0
-rw-r--r--tags/a5/d1/20161208185736.1E8C214001@util2.dkhm/inbox0
-rw-r--r--tags/a5/d1/20161208185736.1E8C214001@util2.dkhm/isp0
-rw-r--r--tags/a5/d1/20161208185736.1E8C214001@util2.dkhm/old0
-rw-r--r--tags/a5/d1/2020827548.2341351.1559306980601@bahn.de/attachment0
-rw-r--r--tags/a5/d1/2020827548.2341351.1559306980601@bahn.de/shop0
-rw-r--r--tags/a5/d1/2020827548.2341351.1559306980601@bahn.de/travel0
-rw-r--r--tags/a5/d1/20230616120722.13660.55781@server.kojevnikov.com/unread0
-rw-r--r--tags/a5/d1/4CEF5640.8070007@osunix.org/spi0
-rw-r--r--tags/a5/d1/7094846.o8fEMBCxiD@x121e/debian0
-rw-r--r--tags/a5/d1/7094846.o8fEMBCxiD@x121e/unread0
-rw-r--r--tags/a5/d1/CAAjYPQ=i2R+2akHx2qDvc4AGH1tg2pmHZk84GMGXXFi6O-FcDg@mail.gmail.com/debian0
-rw-r--r--tags/a5/d1/CAAjYPQ=i2R+2akHx2qDvc4AGH1tg2pmHZk84GMGXXFi6O-FcDg@mail.gmail.com/unread0
-rw-r--r--tags/a5/d1/faf2c12b0807141731l635ebcc9q801ec3cad3287ca4@mail.gmail.com/sugar0
-rw-r--r--tags/a5/d1/faf2c12b0807141731l635ebcc9q801ec3cad3287ca4@mail.gmail.com/unread0
-rw-r--r--tags/a5/d1/op.tzmxnqwrm42vcm@elb/debian0
20 files changed, 0 insertions, 0 deletions