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 b96ae5eed..829a2cf37 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 env PATH=$PATH $0
+ exec setuidgid $NON_ROOT_USERNAME env PATH="$PATH" $0
;;
require-non-root:*) ;;
esac