Skip to content

Commit

Permalink
♻️ refactor: updated function download file #4
Browse files Browse the repository at this point in the history
  • Loading branch information
pnguyen215 committed Jan 20, 2024
1 parent 6e8d167 commit f8d2394
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/h.sh
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,8 @@ function download_file() {
fi

# Download the file
wsd_exe_cmd curl -O "$link" -o "$filename"
# wsd_exe_cmd curl -O "$link" -o "$filename"
wsd_exe_cmd curl -o "$filename" "$link"

if [ $? -eq 0 ]; then
echo "🍺 Downloaded successfully: $filename"
Expand Down

0 comments on commit f8d2394

Please sign in to comment.