Skip to content

Commit 3c4d2c4

Browse files
committed
guix: Silence getent(1) invocation
1 parent bb09ec6 commit 3c4d2c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/guix/guix-build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ fi
190190
# Services database must have basic entries
191191
################
192192

193-
if ! getent services http https ftp; then
193+
if ! getent services http https ftp > /dev/null 2>&1; then
194194
cat << EOF
195195
ERR: Your system's C library can not find service database entries for at least
196196
one of the following services: http, https, ftp.

0 commit comments

Comments
 (0)