mirror of
https://github.com/kevinveenbirkenbach/linux-image-manager.git
synced 2025-09-09 19:57:11 +02:00
Solved parameter bug
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user