Fix collection of *.failure files
The path to the *.failure files was wrong so the logs were never collected, which makes debugging grenade service start failures a bit difficult. Change-Id: Ia7c24bac23b2a5db86bdf3410668355f774ad770
This commit is contained in:
@@ -493,7 +493,7 @@ function cleanup_host {
|
||||
sudo rm $BASE/logs/grenade.sh.log.*
|
||||
|
||||
# Copy failure files if they exist
|
||||
if [ $(ls $BASE/stack/status/*.failure | wc -l) -gt 0 ]; then
|
||||
if [ $(ls $BASE/status/stack/*.failure | wc -l) -gt 0 ]; then
|
||||
sudo mkdir -p $BASE/logs/status
|
||||
sudo cp $BASE/status/stack/*.failure $BASE/logs/status/
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user