mirror of
https://github.com/dewomser/Raspi-auto-downloader.git
synced 2026-03-13 16:57:16 +01:00
brackets vergessen Shellcheck
This commit is contained in:
parent
b38c267ffb
commit
b4286f28fb
1 changed files with 1 additions and 1 deletions
|
|
@ -87,7 +87,7 @@ echo "SD-Karte auf die geschrieben werden soll EINSCHIEBEN !" \"y\"
|
|||
read -r input
|
||||
if [ "$input" == "y" ]; then
|
||||
mapfile -t laufwerke1 < <(lsblk -l -o Name |grep -E "^sd[a-z]*$")
|
||||
echo "$laufwerke1[0]"
|
||||
echo "${laufwerke1[0]}"
|
||||
mapfile -t laufwerke2 < <({ printf "%s\n" "${laufwerke[@]}" | sort -u; printf "%s\n" "${laufwerke1[@]}" "${laufwerke[@]}"; } | sort | uniq -u)
|
||||
zahl_laufwerke="${#laufwerke2[@]}"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue