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:
ffa71b4
)
usrmount/mount-usr.sh: check the right path with ismounted
author
Harald Hoyer
<harald@redhat.com>
Tue, 3 Jul 2012 16:20:46 +0000
(18:20 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Tue, 3 Jul 2012 16:20:46 +0000
(18:20 +0200)
modules.d/98usrmount/mount-usr.sh
patch
|
blob
|
history
diff --git
a/modules.d/98usrmount/mount-usr.sh
b/modules.d/98usrmount/mount-usr.sh
index
3173241
..
c277d74
100755
(executable)
--- a/
modules.d/98usrmount/mount-usr.sh
+++ b/
modules.d/98usrmount/mount-usr.sh
@@
-84,7
+84,7
@@
mount_usr()
info "Mounting /usr"
mount "$NEWROOT/usr" 2>&1 | vinfo
fi
- if ! ismounted
/usr
; then
+ if ! ismounted
"$NEWROOT/usr"
; then
warn "Mounting /usr to $NEWROOT/usr failed"
warn "*** Dropping you to a shell; the system will continue"
warn "*** when you leave the shell."