wrapper.sh logfile check fix
This commit is contained in:
parent
6ce6b20993
commit
9ba208c1f5
|
@ -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" "$@"
|
||||
|
|
Loading…
Reference in New Issue