From: Harald Hoyer Date: Tue, 3 Jul 2012 16:20:46 +0000 (+0200) Subject: usrmount/mount-usr.sh: check the right path with ismounted X-Git-Tag: 021~79 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f0e10d9351be491f5ff703b6ba4ed230a5673609;p=platform%2Fupstream%2Fdracut.git usrmount/mount-usr.sh: check the right path with ismounted --- diff --git a/modules.d/98usrmount/mount-usr.sh b/modules.d/98usrmount/mount-usr.sh index 3173241..c277d74 100755 --- 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."