writing actual return of modutil to output.log, bug 193394 r=wtc

This commit is contained in:
sonja.mirtitsch%sun.com 2003-02-20 00:52:40 +00:00
Родитель e428f067d9
Коммит 57ec96bba5
1 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@ -608,9 +608,10 @@ cert_fips()
modutil -dbdir ${PROFILEDIR} -fips true 2>&1 <<MODSCRIPT
y
MODSCRIPT
if [ "$?" -ne 0 ]; then
html_failed "<TR><TD>${CU_ACTION} ($?) "
cert_log "ERROR: ${CU_ACTION} failed $?"
RET=$?
if [ "$RET" -ne 0 ]; then
html_failed "<TR><TD>${CU_ACTION} ($RET) "
cert_log "ERROR: ${CU_ACTION} failed $RET"
else
html_passed "<TR><TD>${CU_ACTION}"
fi