wrapper.sh logfile check fix

This commit is contained in:
Greg Szabo 2018-04-24 16:40:51 -04:00
parent 6ce6b20993
commit 9ba208c1f5
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ fi
##
export TMHOME="/tendermint/node${ID}"
if [ -d "${TMHOME}/${LOG}" ]; then
if [ -d "`dirname ${TMHOME}/${LOG}`" ]; then
"$BINARY" "$@" | tee "${TMHOME}/${LOG}"
else
"$BINARY" "$@"