Skip to content

Commit 48e14b1

Browse files
committed
Fix error handling
1 parent c9e5b67 commit 48e14b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/setup_ice_irdma.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,9 +197,9 @@ function install_perftest()
197197
exit 1
198198
fi
199199
make -j "${NPROC}" && \
200-
as_root make install
200+
as_root make install || \
201+
{ log_error log_error "Intel irdma: Could not make and/or install the perftest."; return 1; }
201202

202-
log_error "Intel irdma: Could not make and/or install the perftest."
203203
popd || log_warning "Intel irdma: Could not popd (directory). Ignoring."
204204
log_info "End of install_perftest method. Finished installing perftest-24.07.0."
205205
}

0 commit comments

Comments
 (0)