summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers/nvidia-drivers/nvidia-drivers-550.40.76.ebuild')
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-550.40.76.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-550.40.76.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-550.40.76.ebuild
index 3d6eb1baaf8d..91f9b1aa066e 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-550.40.76.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-550.40.76.ebuild
@@ -549,8 +549,8 @@ pkg_postinst() {
ewarn "installed by the ebuild to handle sleep using the official upstream"
ewarn "script. It is recommended to disable the option."
fi
- if [[ $(realpath "${EROOT}"{/etc,{/usr,}/lib*}/elogind/system-sleep | sort | uniq | \
- xargs -d'\n' grep -Ril nvidia 2>/dev/null | wc -l) -gt 2 ]]
+ if [[ $(realpath "${EROOT}"{/etc,{/usr,}/lib*}/elogind/system-sleep 2>/dev/null | \
+ sort | uniq | xargs -d'\n' grep -Ril nvidia 2>/dev/null | wc -l) -gt 2 ]]
then
ewarn
ewarn "!!! WARNING !!!"