aboutsummaryrefslogtreecommitdiff
path: root/lib/beam/common.in
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2012-07-03 14:07:42 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2012-07-03 14:07:42 +0300
commit919b830afdd005d5b3c5af7004af0d85599e4ae1 (patch)
tree5284ec6ad29d919bf0ca1972754e9ab4b5f3019d /lib/beam/common.in
parentfdab97d3badc7cc48aeadc54a0946e42976e8387 (diff)
downloadbeam-919b830afdd005d5b3c5af7004af0d85599e4ae1.tar.gz
beam-919b830afdd005d5b3c5af7004af0d85599e4ae1.tar.bz2
Use "logit" instead of "echo".
Diffstat (limited to 'lib/beam/common.in')
-rw-r--r--lib/beam/common.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/beam/common.in b/lib/beam/common.in
index cdb6e7c..6ce25fe 100644
--- a/lib/beam/common.in
+++ b/lib/beam/common.in
@@ -48,11 +48,11 @@ abend() {
tarcode() {
case $1 in
- 0) echo "`date`: success";;
- 1) echo "`date`: some files changed while being archived";;
- 2) echo "`date`: fatal error occurred, but trying to continue anyway"
+ 0) logit "success";;
+ 1) logit "some files changed while being archived";;
+ 2) logit "fatal error occurred, but trying to continue anyway"
tarerror=$((tarerror + 1));;
- *) echo "`date`: unexpected error code $1"
+ *) logit "unexpected error code $1"
tarerror=$((tarerror + 1));
esac
}

Return to:

Send suggestions and report system problems to the System administrator.