diff options
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 |