# Executing command
${CMD_WITH_ARGS} 1>> ${LFS_LOG_FILE} 2>&1
- eval_retval
+ if [ $? -ne 0 ]; then
+ print_status failure
+ if [ -n "${RCMD_NO_EXIT}" ]; then
+ return ${EXIT_FAILURE}
+ else
+ exit ${EXIT_FAILURE}
+ fi
+ fi
# Displaying build time after the package name
print_status success