fix -t auto for fstype=""

master
Andreas Thienemann 2009-05-20 16:51:50 +02:00 committed by Harald Hoyer
parent 4b8b7c59cf
commit fc791a7fde
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh
if [ ! -s /.resume -a "$root" ]; then if [ ! -s /.resume -a "$root" ]; then
mount ${fstype:-t auto} -o "$rflags" "$root" "$NEWROOT" && ROOTFS_MOUNTED=yes mount ${fstype:--t auto} -o "$rflags" "$root" "$NEWROOT" && ROOTFS_MOUNTED=yes
fi fi