Only create predefined set of filesystems

This commit is contained in:
Javi Fontan committed 2015-06-05 11:06:11 -04:00
1 parent 43962031df
commit ce6f465b95
1 file changed
+4 -2
+4 -2
View File
@@ -320,7 +320,7 @@ function mkfs_command {
OPTS="-F"
;;
"reiserfs")
"reiserfs"|"xfs")
OPTS="-f -q"
;;
@@ -355,7 +355,9 @@ function mkfs_command {
return 0
;;
*)
OPTS=""
echo ""
echo "Filesystem '$FSTYPE' not valid." 1>&2
return 1
;;
esac