get rid of unneeded echo

This commit is contained in:
2025-04-20 23:31:37 +02:00
parent 39914504a0
commit 28f372425e
2 changed files with 4 additions and 8 deletions

View File

@ -41,8 +41,6 @@ download() {
[[ $SUCCESS != \t\r\u\e ]] && echo "$1" >> "$FAIL_FILE"
}
[[ $(hostname) = \s\a\t\a\n ]] && rm -rf ./Artists/*
if [[ -f $FAIL_FILE ]]; then
[[ -f "${FAIL_FILE}.old" ]] && rm -f "${FAIL_FILE}.old"
mv "$FAIL_FILE" "${FAIL_FILE}.old"
@ -62,8 +60,8 @@ if [[ $(echo $?) -ne 0 ]]; then
fi
while IFS= read -r line; do
url=$(echo "$line" | awk '{print $1}')
path=$(echo "$line" | awk '{print $3}')
url=$(awk '{print $1}' <<< "$line")
path=$(awk '{print $3}' <<< "$line")
echo "url: $url"
echo "path: $path"