[cmd_import_tracks] Now deleted .import subfolder when done

This commit is contained in:
ayakael 2018-05-18 19:41:49 -07:00
parent 2687dce96f
commit f9ffdedb32
No known key found for this signature in database
GPG key ID: 575626A4AE5F4026

View file

@ -39,8 +39,6 @@ cmd_import_tracks() {
import_dir "${GIT_DIR}" "${import}" >${STDERR} 2>&1 import_dir "${GIT_DIR}" "${import}" >${STDERR} 2>&1
local EXIT=$? local EXIT=$?
[[ ${EXIT} -eq 0 ]] && _msg OK || { _msg WARN "Importation of ${import} failed, continuing"; continue; } [[ ${EXIT} -eq 0 ]] && _msg OK || { _msg WARN "Importation of ${import} failed, continuing"; continue; }
rm -R ${import} >/dev/null 2>&1
done done
} }