aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorCarl Dong <contact@carldong.me>2021-07-20 19:47:28 -0400
committerCarl Dong <contact@carldong.me>2021-07-20 19:47:28 -0400
commit3c4d2c418e62d421a8bd7640ef5384251c892406 (patch)
treecb811dfaf0fa4f06fd86c2bee93b503a41c31d6f /contrib
parentbb09ec6f106c40b4935b6b13eb1a455e588c00ac (diff)
downloadbitcoin-3c4d2c418e62d421a8bd7640ef5384251c892406.tar.xz
guix: Silence getent(1) invocation
Diffstat (limited to 'contrib')
-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.