summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-03-25 21:39:59 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-03-25 21:39:59 -0400
commitcffbaf45b0882a5c6d63d2b798e848d5b21e800b (patch)
tree927816bb2e2f3f396e7850aa715db605e4055dc3
parent0e9df864eea7f473e6b742cf5fb4818603df59fc (diff)
chcleanup: remove the no-longer-used warning() function
-rwxr-xr-xsrc/chroot-tools/chcleanup5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/chroot-tools/chcleanup b/src/chroot-tools/chcleanup
index a72f951..9084736 100755
--- a/src/chroot-tools/chcleanup
+++ b/src/chroot-tools/chcleanup
@@ -50,11 +50,6 @@ msg2() {
printf "${BLUE} ->${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2
}
-warning() {
- local mesg="$(_ "$1")"; shift
- printf "${YELLOW}==> $(gettext "WARNING:")${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2
-}
-
error() {
local mesg="$(_ "$1")"; shift
printf "${RED}==> $(gettext "ERROR:")${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2