Update storage-test.sh
This commit is contained in:
@@ -122,8 +122,11 @@ if [ "$1" = "" ]; then
|
|||||||
cd "${ChosenPartition}"
|
cd "${ChosenPartition}"
|
||||||
Print_Style "${ChosenPartition} has been selected:" "$YELLOW"
|
Print_Style "${ChosenPartition} has been selected:" "$YELLOW"
|
||||||
echo
|
echo
|
||||||
|
echo "HERE1: '${ChosenPartition}'"
|
||||||
fi
|
fi
|
||||||
|
echo "HERE2: '${ChosenPartition}'"
|
||||||
done
|
done
|
||||||
|
echo "HERE3: '${ChosenPartition}'"
|
||||||
else
|
else
|
||||||
if [ ! -d "$1" ]; then
|
if [ ! -d "$1" ]; then
|
||||||
Print_Style "Your chosen partition (folder) does not exist! Provide a good one or run without parameters to check the rootfs" "$RED"
|
Print_Style "Your chosen partition (folder) does not exist! Provide a good one or run without parameters to check the rootfs" "$RED"
|
||||||
@@ -134,7 +137,7 @@ else
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "HERE: '${ChosenPartition}'"
|
echo "HERE4: '${ChosenPartition}'"
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
# Get host board information
|
# Get host board information
|
||||||
|
|||||||
Reference in New Issue
Block a user