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