2
0
Fork 0

sh.zio.backup: remove rogue newline in logfile header

main
Ducky 2024-04-02 00:25:17 +01:00
parent c542314200
commit c7e8d78cf3
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ function invoke_script() {
log_header="$me_filename $backup_script" log_header="$me_filename $backup_script"
log_header_length="${#log_header}" log_header_length="${#log_header}"
script_log_path="$(create_log "$log_header\n$(repeat "-" $log_header_length)\n")" script_log_path="$(create_log "$log_header\n$(repeat "-" $log_header_length)")"
script_error_log_path="$(create_tmp_file)" script_error_log_path="$(create_tmp_file)"
script_output=$("$backup_scripts_dir/$backup_script_filename" 2>$script_error_log_path | tee /dev/fd/3) script_output=$("$backup_scripts_dir/$backup_script_filename" 2>$script_error_log_path | tee /dev/fd/3)