Merge branch 'master' of https://github.com/Ralim/ts100
This commit is contained in:
@@ -66,7 +66,7 @@ function wait_for_ts100 {
|
|||||||
|
|
||||||
function mount_ts100 {
|
function mount_ts100 {
|
||||||
mkdir -p "$DIR_TMP"
|
mkdir -p "$DIR_TMP"
|
||||||
sudo mount -t msdos -o uid=$UID "$1" "$DIR_TMP"
|
sudo mount -t msdos -o uid=$UID "$DEVICE" "$DIR_TMP"
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "Failed to mount $DEVICE on $DIR_TMP"
|
echo "Failed to mount $DEVICE on $DIR_TMP"
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user