diff options
author | Colin Watson <cjwatson@debian.org> | 2015-08-19 14:23:51 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2015-08-19 16:48:11 +0100 |
commit | 0f0841b2d28b7463267d4d91577e72e3340a1d3a (patch) | |
tree | ba55fcd2b6e2cc22b30f5afb561dbb3da4c8b6c7 /regress/sshd-log-wrapper.sh | |
parent | f2a5f5dae656759efb0b76c3d94890b65c197a02 (diff) | |
parent | 8698446b972003b63dfe5dcbdb86acfe986afb85 (diff) |
New upstream release (6.8p1).
Diffstat (limited to 'regress/sshd-log-wrapper.sh')
-rw-r--r-- | regress/sshd-log-wrapper.sh | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/regress/sshd-log-wrapper.sh b/regress/sshd-log-wrapper.sh index a9386be4d..c00934c78 100644 --- a/regress/sshd-log-wrapper.sh +++ b/regress/sshd-log-wrapper.sh | |||
@@ -3,11 +3,9 @@ | |||
3 | # Placed in the Public Domain. | 3 | # Placed in the Public Domain. |
4 | # | 4 | # |
5 | # simple wrapper for sshd proxy mode to catch stderr output | 5 | # simple wrapper for sshd proxy mode to catch stderr output |
6 | # sh sshd-log-wrapper.sh /path/to/sshd /path/to/logfile | 6 | # sh sshd-log-wrapper.sh /path/to/logfile /path/to/sshd [args...] |
7 | 7 | ||
8 | sshd=$1 | 8 | log=$1 |
9 | log=$2 | ||
10 | shift | ||
11 | shift | 9 | shift |
12 | 10 | ||
13 | exec $sshd -E$log $@ | 11 | exec "$@" -E$log |