don't use the non-existant gshadow database on NetBSD either

This commit is contained in:
Jonathan A. Kollasch 2015-10-15 10:42:11 -05:00
parent 68370db5c3
commit cef2b32663

View file

@ -24,9 +24,11 @@
name=$__object_id
os="$($__explorer/os)"
if [ "$os" = "freebsd" ]; then
echo "FreeBSD does not have getent gshadow"
exit 0
fi
case "$os" in
"freebsd"|"netbsd")
echo "$os does not have getent gshadow"
exit 0
;;
esac
getent gshadow "$name" || true