diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2012-07-03 14:07:42 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2012-07-03 14:07:42 +0300 |
commit | 919b830afdd005d5b3c5af7004af0d85599e4ae1 (patch) | |
tree | 5284ec6ad29d919bf0ca1972754e9ab4b5f3019d /lib/beam/mysql.sh | |
parent | fdab97d3badc7cc48aeadc54a0946e42976e8387 (diff) | |
download | beam-919b830afdd005d5b3c5af7004af0d85599e4ae1.tar.gz beam-919b830afdd005d5b3c5af7004af0d85599e4ae1.tar.bz2 |
Use "logit" instead of "echo".
Diffstat (limited to 'lib/beam/mysql.sh')
-rwxr-xr-x | lib/beam/mysql.sh | 4 |
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 |