2
0
Fork 0

sh.zio.backup: fix full logfile not being uploaded

main
Ducky 2024-04-01 23:28:49 +01:00
parent ddd10e13b7
commit 50ff9d1829
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ function invoke_script() {
if [[ "$script_result" == 0 ]]; then if [[ "$script_result" == 0 ]]; then
trigger_notify "success" "Backup script succeeded: $backup_script_name" "$script_log_path" trigger_notify "success" "Backup script succeeded: $backup_script_name" "$script_log_path"
else else
trigger_notify "error" "Backup script failed: $backup_script_name" "$script_error_log_path" trigger_notify "error" "Backup script failed: $backup_script_name" "$script_error_log_path" "$script_log_path"
fi fi
rm -f "$script_error_log_path" rm -f "$script_error_log_path"