[cmd_import_images] Fixed syntax

This commit is contained in:
ayakael 2018-07-16 06:38:02 -08:00
parent fcadf4569e
commit 6758a5c8e4
No known key found for this signature in database
GPG key ID: 575626A4AE5F4026

View file

@ -45,7 +45,7 @@ cmd_import_images() {
done
import_images "${GIT_DIR}" "${SOURCE}" "${IMG}" "${CUE}" ${ACCURIP} ${LOG} ${JPG}
local EXIT=$?
[[ ${EXIT} -eq 0 ]] _msg OK || _msg WARN "Import_images exited with code ${EXIT}"
[[ ${EXIT} -eq 0 ]] && _msg OK || _msg WARN "Import_images exited with code ${EXIT}"
done
@ -55,7 +55,7 @@ cmd_import_images() {
_msg EXEC "Importing ${import}"
import_src "${GIT_DIR}" "${import}"
local EXIT=$?
[[ ${EXIT} -eq 0 ]] _msg OK || _msg WARN "import_src exited with code ${EXIT}"
[[ ${EXIT} -eq 0 ]] && _msg OK || _msg WARN "import_src exited with code ${EXIT}"
done
done
}