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