mirror of
https://github.com/kevinveenbirkenbach/linux-image-manager.git
synced 2024-11-10 01:51:03 +01:00
Solved parameter bug
This commit is contained in:
parent
1bd5d5f255
commit
c38d21cfcb
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user