pull/5/head
Tomas M 2012-09-21 08:10:10 -05:00
parent 3cc0f47ede
commit 0122a83178
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ device_bestfs()
PEEK="$(dd if="$1" bs=1k count=1 2>/dev/null | strings)"
if [ "$(echo "$PEEK" | egrep -i "FAT[13][26]")" != "" ]; then
echo "-t vfat"
else if [ "$(echo "$PEEK" | egrep -i 'NTFS')" != "" ]; then
elif [ "$(echo "$PEEK" | egrep -i 'NTFS')" != "" ]; then
echo "-t ntfs-3g"
fi
}