diff --git a/bin/expl_transfert_dir.sh b/bin/expl_transfert_dir.sh index 906484e..3fb7b81 100755 --- a/bin/expl_transfert_dir.sh +++ b/bin/expl_transfert_dir.sh @@ -111,7 +111,7 @@ function check_dirs ERROR="Le répertoire ${src_host}:${src_dir} n'existe pas" fct_erreur 2 fi - if [ $(ssh ${src_host} "sudo find ${ROOT_SRC_DIR} -maxdepth 1 -type d -name ${BASE_SRC_DIR}" | wc -l) -eq 0 ] || ; then + if [ $(ssh ${src_host} "sudo find ${ROOT_SRC_DIR} -maxdepth 1 -type d -name ${BASE_SRC_DIR}" | wc -l) -eq 0 ]; then ERROR="Le répertoire ${src_host}:${src_dir} n'existe pas" fct_erreur 2 fi