commit | f8f97a677a1419a1ae8e1c5887c82bbea240c6bc | [log] [tgz] |
---|---|---|
author | Jenkins <jenkins@review.openstack.org> | Tue Aug 19 20:39:27 2014 +0000 |
committer | Gerrit Code Review <review@openstack.org> | Tue Aug 19 20:39:27 2014 +0000 |
tree | 814ace020c30f697863489e343fff014ead4f7ec | |
parent | 9504bb376d02533ae9193050879f518699316ce2 [diff] | |
parent | 2696e5a0676c1ba39ee7f97b48ef65f5dc986d4f [diff] |
Merge "Guard for worlddump in case LOGDIR is undefined"
diff --git a/stack.sh b/stack.sh index 7a7655c..9b9c245 100755 --- a/stack.sh +++ b/stack.sh
@@ -631,7 +631,11 @@ if [[ $r -ne 0 ]]; then echo "Error on exit" - ./tools/worlddump.py -d $LOGDIR + if [[ -z $LOGDIR ]]; then + ./tools/worlddump.py + else + ./tools/worlddump.py -d $LOGDIR + fi fi exit $r