sh.zio.backup: fix quote not being rendered
parent
990942212f
commit
b2581f5094
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue