mirror of
https://github.com/YunoHost-Apps/borg_ynh.git
synced 2024-09-03 18:16:05 +02:00
Also display error messages in backup create output
This commit is contained in:
parent
36fc746f08
commit
8bb3888f81
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ do_need_mount() {
|
|||
|
||||
LOGFILE=/var/log/backup_borg.err
|
||||
log_with_timestamp() {
|
||||
sed -e "s/^/[$(date +"%Y-%m-%d_%H:%M:%S")] /" >> $LOGFILE
|
||||
sed -e "s/^/[$(date +"%Y-%m-%d_%H:%M:%S")] /" | tee -a $LOGFILE
|
||||
}
|
||||
|
||||
do_backup() {
|
||||
|
|
Loading…
Add table
Reference in a new issue