small fixes

This commit is contained in:
teldra 2021-03-17 00:03:12 +01:00
parent 32c2122032
commit e99d1c755f

View File

@ -19,7 +19,9 @@ done
input="${@}"
max="${#input[@]}"
echo "${input[@]}"
echo 0 "${input[0]}"
echo 1 "${input[1]}"
echo 2 "${input[2]}"
for i in $(seq 1 "${max}"); do
if [[ "${i}" == "${#input[@]}" ]]; then
echo diskp "${input[$i]}"