summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-05-02 22:45:46 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-05-02 22:45:46 -0400
commit3d85c8669c758af039f9b1ce8c8477312e203527 (patch)
treecb2efaf945614771cb4494a92224dbc85786ccbf
parentbd1ee55dbc3f49fcdb69cc8aa6e27f20969a0591 (diff)
chcleanup: msg is used too
-rwxr-xr-xsrc/chroot-tools/chcleanup5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/chroot-tools/chcleanup b/src/chroot-tools/chcleanup
index 09e3355..f957d3b 100755
--- a/src/chroot-tools/chcleanup
+++ b/src/chroot-tools/chcleanup
@@ -12,6 +12,11 @@ DRYRUN=${DRYRUN:-false}
################################################################################
# Define these here to avoid having dependencies on outside files
+msg() {
+ local mesg=$1; shift
+ printf "${GREEN}==>${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2
+}
+
msg2() {
local mesg=$1; shift
printf "${BLUE} ->${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2