diff options
Diffstat (limited to 'regress')
-rw-r--r-- | regress/test-exec.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/test-exec.sh b/regress/test-exec.sh index f17f9493d..fa92ee45a 100644 --- a/regress/test-exec.sh +++ b/regress/test-exec.sh | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: test-exec.sh,v 1.72 2020/01/23 10:19:59 dtucker Exp $ | 1 | # $OpenBSD: test-exec.sh,v 1.73 2020/01/24 01:29:23 dtucker Exp $ |
2 | # Placed in the Public Domain. | 2 | # Placed in the Public Domain. |
3 | 3 | ||
4 | #SUDO=sudo | 4 | #SUDO=sudo |
@@ -449,7 +449,7 @@ else | |||
449 | unsafe="" | 449 | unsafe="" |
450 | dir="${OBJ}" | 450 | dir="${OBJ}" |
451 | while test ${dir} != "/"; do | 451 | while test ${dir} != "/"; do |
452 | if test -d "${dir}" ; then | 452 | if test -d "${dir}" && ! test -h "${dir}"; then |
453 | perms=`ls -ld ${dir}` | 453 | perms=`ls -ld ${dir}` |
454 | case "${perms}" in | 454 | case "${perms}" in |
455 | ?????w????*|????????w?*) unsafe="${unsafe} ${dir}" ;; | 455 | ?????w????*|????????w?*) unsafe="${unsafe} ${dir}" ;; |