aboutsummaryrefslogtreecommitdiff
path: root/contrib/guix/guix-build
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/guix/guix-build')
-rwxr-xr-xcontrib/guix/guix-build2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/guix/guix-build b/contrib/guix/guix-build
index f6da8435e9..5a908a507d 100755
--- a/contrib/guix/guix-build
+++ b/contrib/guix/guix-build
@@ -190,7 +190,7 @@ fi
# Services database must have basic entries
################
-if ! getent services http https ftp; then
+if ! getent services http https ftp > /dev/null 2>&1; then
cat << EOF
ERR: Your system's C library can not find service database entries for at least
one of the following services: http, https, ftp.