usrmount/mount-usr.sh: check the right path with ismounted

master
Harald Hoyer 2012-07-03 18:20:46 +02:00
parent ffa71b4afa
commit f0e10d9351
1 changed files with 1 additions and 1 deletions

View File

@ -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."