summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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