"MaJ expl_transfert_dir.sh typo"

This commit is contained in:
Doug Le Tough 2017-07-22 14:01:31 +02:00
parent 044c464eee
commit dead377930
1 changed files with 1 additions and 1 deletions

View File

@ -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