/var/lib/mistral should be downloaded

Seems like /var/lib/mistral is a nice to have
when downloading the logs

Change-Id: I650568c5ce470a77a0a5bbd163b665dd0b76a339
This commit is contained in:
Wes Hayutin 2018-07-03 12:46:42 -04:00
parent 4101a393f2
commit f2535bb492
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ function finish(){
}
function get_dirs(){
local drop="\b(etc|ara|ara_oooq|docs|build|stackviz|sudoers.d|lib|config-data|extra)\b"
local drop="\b(etc|ara|ara_oooq|docs|build|stackviz|sudoers.d|config-data|extra)\b"
local directories=""
directories=$(curl -s "$1" 2> /dev/null | grep -E "\[DIR" | grep -vE "${drop}" | sed -e "s,.*href=\"\([^\"]*\)\".*,${1}\1,g")
if [ -n "$directories" ]; then