mirror of
https://github.com/optim-enterprises-bv/nDPId.git
synced 2025-10-29 17:32:23 +00:00
daemon.sh: cat nDPId / nDPIsrvd log on failure
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
@@ -55,4 +55,9 @@ else
|
||||
test ${RETVAL} -eq 0 && printf '%s\n' "You may now run examples e.g.: $(realpath --relative-to="$(pwd)" $(dirname "${0}")/../examples/py-flow-info/flow-info.py) --unix ${NROOT}/nDPIsrvd-${NSUFFIX}-distributor.sock"
|
||||
fi
|
||||
|
||||
if [ ${RETVAL} -ne 0 ]; then
|
||||
test -r "${NROOT}/nDPIsrvd.log" && cat "${NROOT}/nDPIsrvd.log"
|
||||
test -r "${NROOT}/nDPId.log" && cat "${NROOT}/nDPId.log"
|
||||
fi
|
||||
|
||||
exit ${RETVAL}
|
||||
|
||||
Reference in New Issue
Block a user