Skip to content

Commit

Permalink
fix potential quoting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
kcgthb committed Dec 7, 2021
1 parent 86205ce commit 6f629e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ibswinfo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ rid[MTMP]="sensor_index=0x0${add_idx:+,$add_idx}"
rid[MTCAP]="$add_idx"
# get registers
_regs=$(for r in $reg_names; do
echo "$r" "$(get_reg "$r" ${rid[$r]:-} |& paste -s -d '@')" &
echo "$r" "$(get_reg "$r" "${rid[$r]:-}" |& paste -s -d '@')" &
done)
# store them
while read -r r v; do
Expand Down

0 comments on commit 6f629e7

Please sign in to comment.