summaryrefslogtreecommitdiffstats
path: root/etc/rc
diff options
context:
space:
mode:
authordan <dan@FreeBSD.org>2000-03-27 16:36:25 +0000
committerdan <dan@FreeBSD.org>2000-03-27 16:36:25 +0000
commit743cc80775aaf1d6c9f2630dcac4a7db29930c35 (patch)
tree50d4eea7c485711a337e4750787d62365351b683 /etc/rc
parentde637eeac51797684c7c03d3001e464facc56ca2 (diff)
downloadFreeBSD-src-743cc80775aaf1d6c9f2630dcac4a7db29930c35.zip
FreeBSD-src-743cc80775aaf1d6c9f2630dcac4a7db29930c35.tar.gz
s/grep/grep -q
Submitted by: ru
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index 6da201f..b9dbfd8 100644
--- a/etc/rc
+++ b/etc/rc
@@ -201,7 +201,7 @@ case ${ipv6_enable} in
esac
# Mount NFS filesystems if present in /etc/fstab
-if mount -d -a -t nfs | grep nfs >/dev/null 2>&1; then
+if mount -d -a -t nfs | grep -q nfs >/dev/null 2>&1; then
echo -n "Mounting NFS file systems"
mount -a -t nfs
echo .
OpenPOWER on IntegriCloud