diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-05-02 22:45:46 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-05-02 22:45:46 -0400 |
commit | 3d85c8669c758af039f9b1ce8c8477312e203527 (patch) | |
tree | cb2efaf945614771cb4494a92224dbc85786ccbf /src | |
parent | bd1ee55dbc3f49fcdb69cc8aa6e27f20969a0591 (diff) |
chcleanup: msg is used too
Diffstat (limited to 'src')
-rwxr-xr-x | src/chroot-tools/chcleanup | 5 |
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 |