fix: some test fix
This commit is contained in:
parent
d691022aef
commit
0ffaf3c6e7
|
@ -37,7 +37,7 @@ function partition_list
|
||||||
awk -F: \
|
awk -F: \
|
||||||
'{if (NR > 2)
|
'{if (NR > 2)
|
||||||
print $1
|
print $1
|
||||||
}')"
|
}'|xargs echo)"
|
||||||
}
|
}
|
||||||
|
|
||||||
function find_unused
|
function find_unused
|
||||||
|
@ -46,7 +46,7 @@ function find_unused
|
||||||
unused="$(parted -m "$drive" -- print|awk -F: \
|
unused="$(parted -m "$drive" -- print|awk -F: \
|
||||||
'{if (NR > 2 && $1 >= 2 && $6 == "root unused") {
|
'{if (NR > 2 && $1 >= 2 && $6 == "root unused") {
|
||||||
print $1
|
print $1
|
||||||
}}')|head -1"
|
}}'|head -1)"
|
||||||
}
|
}
|
||||||
|
|
||||||
function find_oldest
|
function find_oldest
|
||||||
|
|
Loading…
Reference in New Issue
Block a user