Browse Source

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

master
Harald Hoyer 13 years ago
parent
commit
f0e10d9351
  1. 2
      modules.d/98usrmount/mount-usr.sh

2
modules.d/98usrmount/mount-usr.sh

@ -84,7 +84,7 @@ mount_usr()
info "Mounting /usr" info "Mounting /usr"
mount "$NEWROOT/usr" 2>&1 | vinfo mount "$NEWROOT/usr" 2>&1 | vinfo
fi fi
if ! ismounted /usr; then if ! ismounted "$NEWROOT/usr"; then
warn "Mounting /usr to $NEWROOT/usr failed" warn "Mounting /usr to $NEWROOT/usr failed"
warn "*** Dropping you to a shell; the system will continue" warn "*** Dropping you to a shell; the system will continue"
warn "*** when you leave the shell." warn "*** when you leave the shell."

Loading…
Cancel
Save