From c0c75efdc6b0a6590ba82417ad119296ad2a2462 Mon Sep 17 00:00:00 2001 From: tolerryan <105945216+tolerryan@users.noreply.github.com> Date: Mon, 30 Dec 2024 01:22:54 -0600 Subject: [PATCH] typo --- roles/lib/setup-restic.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/lib/setup-restic.yml b/roles/lib/setup-restic.yml index fce1758..cc23ce0 100644 --- a/roles/lib/setup-restic.yml +++ b/roles/lib/setup-restic.yml @@ -113,8 +113,8 @@ ./discord.sh "$(hostname) backup complete" elif [ $status -eq 3 ]; then details=$(grep -A4 "Added to the repository:" backup.out) - >backup.out ./discord.sh "$(hostname) backup complete $details" + >backup.out else # If the exit status is not 0 (failure), send a failure message ./discord.sh "$(hostname) Backup has failed"