summaryrefslogtreecommitdiff
path: root/tests/priv-check
diff options
context:
space:
mode:
Diffstat (limited to 'tests/priv-check')
-rw-r--r--tests/priv-check2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/priv-check b/tests/priv-check
index ba3f26c86..b96ae5eed 100644
--- a/tests/priv-check
+++ b/tests/priv-check
@@ -60,7 +60,7 @@ case $PRIV_CHECK_ARG:$my_uid in
echo "$0: skipping this test" 1>&2
(exit 77); exit
}
- exec setuidgid $NON_ROOT_USERNAME $0
+ exec setuidgid $NON_ROOT_USERNAME env PATH=$PATH $0
;;
require-non-root:*) ;;
esac