| Summary: | checkroot - misspelled | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Patrik Kullman <patrik> |
| Component: | [OLD] Core system | Assignee: | Martin Schlemmer (RETIRED) <azarah> |
| Status: | RESOLVED INVALID | ||
| Severity: | major | ||
| Priority: | High | ||
| Version: | 1.4_rc1 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Patrik Kullman
2003-03-12 11:13:15 UTC
There is a function ewend ....
----------------------------------
azarah@nosferatu azarah $ grep -A 22 ewend /sbin/functions.sh
# void ewend(int error, char *warnstr)
#
# indicate the completion of process
# if error, show warnstr via ewarn
#
ewend() {
if [ "$#" -eq 0 ] || ([ -n "$1" ] && [ "$1" -eq 0 ])
then
if [ "${QUIET_STDOUT}" != "yes" ]
then
echo -e "${ENDCOL} ${BRACKET}[ ${GOOD}ok${BRACKET} ]${NORMAL}"
fi
else
local returnme="$1"
if [ "$#" -ge 2 ]
then
shift
ewarn "${*}"
fi
if [ "${QUIET_STDOUT}" != "yes" ]
then
echo -e "${ENDCOL} ${BRACKET}[ ${WARN}!!${BRACKET} ]${NORMAL}"
# extra spacing makes it easier to read
echo
fi
return "${returnme}"
fi
}
azarah@nosferatu azarah $
|