aboutsummaryrefslogtreecommitdiff
path: root/lib/beam/mysql.sh
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/mysql.sh
parentfdab97d3badc7cc48aeadc54a0946e42976e8387 (diff)
downloadbeam-919b830afdd005d5b3c5af7004af0d85599e4ae1.tar.gz
beam-919b830afdd005d5b3c5af7004af0d85599e4ae1.tar.bz2
Use "logit" instead of "echo".
Diffstat (limited to 'lib/beam/mysql.sh')
-rwxr-xr-xlib/beam/mysql.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/beam/mysql.sh b/lib/beam/mysql.sh
index e867690..09b2ef4 100755
--- a/lib/beam/mysql.sh
+++ b/lib/beam/mysql.sh
@@ -45,9 +45,9 @@ mysql_backup() {
if [ $? -ne 0 ]; then
tarerror=$((tarerror + 1))
- echo >&2 "`date`: failed"
+ logit "failed"
else
- echo "`date`: creating $1-$week-$round-$level.$tar_suffix"
+ logit "creating $1-$week-$round-$level.$tar_suffix"
$dry_run tar $verbose $taroptions \
-f $backup_archive_dir/$1-$week-$round-$level.$tar_suffix \
-C $backup_snapshot_dir $1-$week-$round-$level

Return to:

Send suggestions and report system problems to the System administrator.