projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f524c4
)
base/dracut-lib.sh: fixed ismounted() for "/dev"
author
Harald Hoyer
<harald@redhat.com>
Tue, 31 Jul 2012 12:43:05 +0000
(14:43 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Tue, 31 Jul 2012 12:43:05 +0000
(14:43 +0200)
modules.d/99base/dracut-lib.sh
patch
|
blob
|
history
diff --git
a/modules.d/99base/dracut-lib.sh
b/modules.d/99base/dracut-lib.sh
index
b638bd6
..
a39ca8c
100755
(executable)
--- a/
modules.d/99base/dracut-lib.sh
+++ b/
modules.d/99base/dracut-lib.sh
@@
-464,7
+464,7
@@
find_mount() {
# usage: ismounted <mountpoint>
# usage: ismounted /dev/<device>
ismounted() {
- if str_starts "$1" "/dev"; then
+ if str_starts "$1" "/dev
/
"; then
find_mount "$1" > /dev/null && return 0
return 1
fi