ソースを参照

oops... typo

SVN-Revision: 6267
Felix Fietkau 19 年 前
コミット
202bd45033
1 ファイル変更1 行追加1 行削除
  1. 1 1
      target/linux/rb532-2.6/base-files/sbin/cf2nand

+ 1 - 1
target/linux/rb532-2.6/base-files/sbin/cf2nand

@@ -10,7 +10,7 @@ copy_kernel() {
 	/sbin/patch-cmdline "$output" "$cmdline"
 }
 
-fstype="$(mount | grep ' / ' | awk '$1 != "rootfs" {print $5}')"
+fstype="$(mount | grep ' / ' | awk '$5 != "rootfs" {print $5}')"
 case "$fstype" in
 	ext2|jffs2) echo "Copying from $fstype to yaffs2";;
 	*) echo "Invalid filesystem."; exit 1;;