From c7e8d78cf3d0479447571504acb2fae2387fd9d5 Mon Sep 17 00:00:00 2001 From: Ducky Date: Tue, 2 Apr 2024 00:25:17 +0100 Subject: [PATCH] sh.zio.backup: remove rogue newline in logfile header --- usr/local/bin/sh.zio.backup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/bin/sh.zio.backup b/usr/local/bin/sh.zio.backup index 8eb6145..6985bf3 100755 --- a/usr/local/bin/sh.zio.backup +++ b/usr/local/bin/sh.zio.backup @@ -130,7 +130,7 @@ function invoke_script() { log_header="$me_filename $backup_script" 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_output=$("$backup_scripts_dir/$backup_script_filename" 2>$script_error_log_path | tee /dev/fd/3)