summaryrefslogtreecommitdiff
path: root/regress/sftp-chroot.sh
diff options
context:
space:
mode:
Diffstat (limited to 'regress/sftp-chroot.sh')
-rw-r--r--regress/sftp-chroot.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/regress/sftp-chroot.sh b/regress/sftp-chroot.sh
index 98a364ebf..03b9bc6d7 100644
--- a/regress/sftp-chroot.sh
+++ b/regress/sftp-chroot.sh
@@ -8,7 +8,8 @@ FILENAME=testdata_${USER}
8PRIVDATA=${CHROOT}/${FILENAME} 8PRIVDATA=${CHROOT}/${FILENAME}
9 9
10if [ -z "$SUDO" ]; then 10if [ -z "$SUDO" ]; then
11 fatal "need SUDO to create file in /var/run, test won't work without" 11 echo "skipped: need SUDO to create file in /var/run, test won't work without"
12 exit 0
12fi 13fi
13 14
14$SUDO sh -c "echo mekmitastdigoat > $PRIVDATA" || \ 15$SUDO sh -c "echo mekmitastdigoat > $PRIVDATA" || \