commit | 3f3064c82238c486706471d300217d73dd0f125e | [log] [tgz] |
---|---|---|
author | Tim Rice <tim@multitalents.net> | Sun Jun 02 15:13:09 2013 -0700 |
committer | Tim Rice <tim@multitalents.net> | Sun Jun 02 15:13:09 2013 -0700 |
tree | 4898775c47061b96c2f215d7a28c839ad0fe1c6c | |
parent | 01ec0af301f60fefdd0079647f13ef9abadd2db5 [diff] [blame] |
- (tim) [regress/sftp-chroot.sh] skip if no sudo. ok dtucker
diff --git a/regress/sftp-chroot.sh b/regress/sftp-chroot.sh index 98a364e..03b9bc6 100644 --- a/regress/sftp-chroot.sh +++ b/regress/sftp-chroot.sh
@@ -8,7 +8,8 @@ PRIVDATA=${CHROOT}/${FILENAME} if [ -z "$SUDO" ]; then - fatal "need SUDO to create file in /var/run, test won't work without" + echo "skipped: need SUDO to create file in /var/run, test won't work without" + exit 0 fi $SUDO sh -c "echo mekmitastdigoat > $PRIVDATA" || \