summaryrefslogtreecommitdiff
path: root/tests/common
diff options
context:
space:
mode:
Diffstat (limited to 'tests/common')
-rw-r--r--tests/common2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/common b/tests/common
index 785280f0..4542fa89 100644
--- a/tests/common
+++ b/tests/common
@@ -157,7 +157,7 @@ root_helper()
setup_root_helper()
{
- if [ $UID -eq 0 ]; then
+ if [ $UID -eq 0 -o -n "$SUDO_HELPER" ]; then
return
fi