diff options
author | Ramón M. Gómez <ramongomez@us.es> | 2019-05-20 12:42:44 +0200 |
---|---|---|
committer | Ramón M. Gómez <ramongomez@us.es> | 2019-05-20 12:42:44 +0200 |
commit | af25f93792a18a65a6b7832a8e33b287de92d6b5 (patch) | |
tree | fd793452f862ed8fd6c8b5c6eaead3d2d151ca3c | |
parent | cc2231f5df7ce874220aef7e6f0c87f0f2aff1c9 (diff) | |
parent | 6fa6ba096b49da49abfb1bdccd227934e516bf5f (diff) |
Merge remote-tracking branch 'origin/#910_BUGmaster_updateCache_ogGetPathControlCadena'
-rwxr-xr-x | client/shared/scripts/updateCache | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/shared/scripts/updateCache b/client/shared/scripts/updateCache index 7c3f4534..5abc7307 100755 --- a/client/shared/scripts/updateCache +++ b/client/shared/scripts/updateCache @@ -85,7 +85,8 @@ if ! $(ogFindCache >/dev/null); then fi # comprobar si la imagen existe (.img, .img.diff o directorio) -REPOFILE=$(ogGetPath "REPO" "/$2") || exit $(ogRaiseError session $OG_ERR_NOTFOUND "REPO /$2"; echo $?) +REPOFILE=$(ogGetPath "REPO" "/$2") +[ -n "$REPOFILE" ] || exit $(ogRaiseError session $OG_ERR_NOTFOUND "REPO /$2"; echo $?) ogEcho log session "$MSG_SCRIPTS_UPDATECACHE_DOUPDATE" # Distingo si es monolitica o sincronizable |