Mise à jour de 'importer.sh'

This commit is contained in:
Dryusdan 2020-05-25 10:50:53 +02:00
parent e9e97fce60
commit d6cbb29bbf
1 changed files with 2 additions and 2 deletions

View File

@ -36,11 +36,11 @@ do
needinteract=$(echo ${bank} | base64 --decode | jq --raw-output ".needinteract")
info "Run boobank and extract csv"
if [ ${needinteract} == "true" ] && [ ${INTERACTIVE} ]
if [ ${needinteract} == "true" ] && [ ${INTERACTIVE} = true ]
then
${BOOBANK_BIN} -b ${backend} history ${id} -n ${minfetch} -f csv -O ${TRANSACTION_PATH}/${outputname}
else
if [ ${needinteract} == "true" ] && [ ${INTERACTIVE} == false]
if [ ${needinteract} == "true" ] && [ ${INTERACTIVE} = false]
then
warning "${backend} need interative. Pass"
else