summaryrefslogtreecommitdiffstats
path: root/regress/sftp-chroot.sh
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2014-02-28 00:19:51 +0100
committerDamien Miller <djm@mindrot.org>2014-02-28 00:19:51 +0100
commit1e2aa3d90472293ea19008f02336d6d68aa05793 (patch)
treea4b5eebb25cdf6c4c4a11635516b4964607036a4 /regress/sftp-chroot.sh
parent - dtucker@cvs.openbsd.org 2014/01/19 23:43:02 (diff)
downloadopenssh-1e2aa3d90472293ea19008f02336d6d68aa05793.tar.xz
openssh-1e2aa3d90472293ea19008f02336d6d68aa05793.zip
- dtucker@cvs.openbsd.org 2014/01/20 00:00:30
[sftp-chroot.sh] append to rather than truncating the log file
Diffstat (limited to '')
-rw-r--r--regress/sftp-chroot.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/sftp-chroot.sh b/regress/sftp-chroot.sh
index cb731dfe8..23f7456e8 100644
--- a/regress/sftp-chroot.sh
+++ b/regress/sftp-chroot.sh
@@ -1,4 +1,4 @@
-# $OpenBSD: sftp-chroot.sh,v 1.3 2014/01/19 23:43:02 dtucker Exp $
+# $OpenBSD: sftp-chroot.sh,v 1.4 2014/01/20 00:00:30 dtucker Exp $
# Placed in the Public Domain.
tid="sftp in chroot"
@@ -19,7 +19,7 @@ start_sshd -oChrootDirectory=$CHROOT -oForceCommand="internal-sftp -d /"
verbose "test $tid: get"
${SFTP} -S "$SSH" -F $OBJ/ssh_config host:/${FILENAME} $COPY \
- >$TEST_REGRESS_LOGFILE 2>&1 || \
+ >>$TEST_REGRESS_LOGFILE 2>&1 || \
fatal "Fetch ${FILENAME} failed"
cmp $PRIVDATA $COPY || fail "$PRIVDATA $COPY differ"