summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/iputils/iputils-20210722.ebuild')
-rw-r--r--net-misc/iputils/iputils-20210722.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/net-misc/iputils/iputils-20210722.ebuild b/net-misc/iputils/iputils-20210722.ebuild
index dde2cee578c..0e3d015bdb9 100644
--- a/net-misc/iputils/iputils-20210722.ebuild
+++ b/net-misc/iputils/iputils-20210722.ebuild
@@ -111,7 +111,7 @@ src_compile() {
}
src_test() {
- if has userpriv ${FEATURES} || ${EUID} -ne 0 ; then
+ if [[ ${EUID} != 0 ]]; then
einfo "Tests require root privileges; Skipping ..."
return
fi