- nfs.init: handle case where kernel adds trailing

slash to name in /proc/mounts.
  (bnc#722431 bnc#720376)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=61
This commit is contained in:
Neil Brown 2011-10-12 05:19:58 +00:00 committed by Git OBS Bridge
parent 8639375bda
commit afaf19b6f4
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Oct 12 05:18:17 UTC 2011 - nfbrown@suse.com
- nfs.init: handle case where kernel adds trailing
slash to name in /proc/mounts.
(bnc#722431 bnc#720376)
-------------------------------------------------------------------
Sat Oct 1 15:24:33 UTC 2011 - crrodriguez@opensuse.org

View File

@ -61,7 +61,8 @@ while read -r what where type options rest ; do
esac
nfs=yes
if test "$1" = status ; then
grep -qF "$what $where nfs" /proc/mounts && continue
grep -qF "$what $where nfs
$what/ $where nfs" /proc/mounts && continue
state=3
continue
fi