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:
Matt Riedemann
2014-06-09 13:43:23 -07:00
parent aec706c5ed
commit b9349a5e51

View File

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