From f8d2394852862e5879a7eb9ce73344e03ac6287b Mon Sep 17 00:00:00 2001 From: arisnguyenit97 Date: Sat, 20 Jan 2024 17:38:59 +0700 Subject: [PATCH] :recycle: refactor: updated function download file #4 --- src/h.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/h.sh b/src/h.sh index 42f8ceb..3af215c 100644 --- a/src/h.sh +++ b/src/h.sh @@ -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"