diff options
Diffstat (limited to 'regress/sftp-chroot.sh')
-rw-r--r-- | regress/sftp-chroot.sh | 3 |
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} | |||
8 | PRIVDATA=${CHROOT}/${FILENAME} | 8 | PRIVDATA=${CHROOT}/${FILENAME} |
9 | 9 | ||
10 | if [ -z "$SUDO" ]; then | 10 | if [ -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 | ||
12 | fi | 13 | fi |
13 | 14 | ||
14 | $SUDO sh -c "echo mekmitastdigoat > $PRIVDATA" || \ | 15 | $SUDO sh -c "echo mekmitastdigoat > $PRIVDATA" || \ |