Skip to content

Commit c8708ab

Browse files
author
buddyjojo
committed
eugh damn ntfs
1 parent e177c33 commit c8708ab

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

worli.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,12 @@ then
116116
exit 1
117117
fi
118118

119+
if ! command -v mkfs.ntfs &> /dev/null
120+
then
121+
echo "- mkfs.ntfs command not found. install ntfs support somehow (like ntfs-3g and ntfsprogs)"
122+
exit 1
123+
fi
124+
119125
echo -e "\e[0;31mDO THE PRE STUFF BEFORE CONTINUING\e[0m"
120126

121127
read -p "Press any key to continue..."

0 commit comments

Comments
 (0)