Skip to content

Commit d3ebe20

Browse files
committed
Fix shellcheck warning: quote pids variable to prevent word splitting
1 parent 562b515 commit d3ebe20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ani-cli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ get_episode_url() {
219219
generate_link "$provider" >"$cache_dir"/"$provider" &
220220
pids="$pids $!"
221221
done
222-
wait $pids
222+
wait "$pids"
223223
# select the link with matching quality
224224
links=$(cat "$cache_dir"/* | sort -g -r -s)
225225
rm -r "$cache_dir"

0 commit comments

Comments
 (0)