Solved parameter bug

This commit is contained in:
Kevin Veen-Birkenbach 2020-05-15 14:13:47 +02:00
parent 1bd5d5f255
commit c38d21cfcb

View File

@ -12,9 +12,9 @@ source "$(dirname "$(readlink -f "${0}")")/../base.sh" || (echo "Loading base.sh
echo_partition_name(){ echo_partition_name(){
if [ "${device_path:5:1}" != "s" ] if [ "${device_path:5:1}" != "s" ]
then then
echo "$device_path""p""$2" echo "$device_path""p""$1"
else else
echo "$device_path$2" echo "$device_path$1"
fi fi
} }