bin/check.sh: fix last commit. Show no error

vseva/3.0
Victor Seva 13 years ago
parent 659dadf422
commit 5ec884ae36

@ -245,7 +245,7 @@ function run_sipp
# copy the kamailio-lb log
cp ${KAMLB_LOG} ${LOG_DIR}/kamailio-lb.log
# if any scenario has a log... error
if [ $(ls ${SCEN_CHECK_DIR}/sipp_scenario*errors.log|wc -l) -ne 0 ]; then
if [ $(ls ${SCEN_CHECK_DIR}/sipp_scenario*errors.log 2>/dev/null|wc -l) -ne 0 ]; then
find ${SCEN_CHECK_DIR}/ -type f -name 'sipp_scenario*errors.log' -exec mv {} ${LOG_DIR} \;
status=1
fi

Loading…
Cancel
Save