From b2581f509458c262abe46d0c81eae75840a8d6e3 Mon Sep 17 00:00:00 2001 From: Ducky Date: Tue, 2 Apr 2024 00:02:37 +0100 Subject: [PATCH] sh.zio.backup: fix quote not being rendered --- 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 45c7f5c..e209ee1 100755 --- a/usr/local/bin/sh.zio.backup +++ b/usr/local/bin/sh.zio.backup @@ -140,7 +140,7 @@ function invoke_script() { if [[ "$script_result" == 0 ]]; then trigger_notify "success" "Backup script succeeded: $backup_script_name" "$script_log_path" else - trigger_notify "error" "Backup script failed: $backup_script_name" "$(cat "$script_error_log_path" | sed -e "s/\`/'/g")" "$script_log_path" + trigger_notify "error" "Backup script failed: $backup_script_name" "$(cat "$script_error_log_path" | sed -e "s/\`/\'/g")" "$script_log_path" fi rm -f "$script_error_log_path"