sh.zio.backup: remove rogue newline in logfile header
parent
c542314200
commit
c7e8d78cf3
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue