typo on restic.sh

This commit is contained in:
tolerryan
2024-12-30 01:21:26 -06:00
parent 962cbe166c
commit bc47f02c4a

View File

@@ -112,7 +112,7 @@
# If the exit status is 0 (success), send a success message # If the exit status is 0 (success), send a success message
./discord.sh "$(hostname) backup complete" ./discord.sh "$(hostname) backup complete"
elif [ $status -eq 3 ]; then elif [ $status -eq 3 ]; then
details=$(grep -A4 "Added to the repository:"" backup.out) details=$(grep -A4 "Added to the repository:" backup.out)
>backup.out >backup.out
./discord.sh "$(hostname) backup complete $details" ./discord.sh "$(hostname) backup complete $details"
else else