This commit is contained in:
tolerryan
2024-12-30 01:22:54 -06:00
parent bc47f02c4a
commit c0c75efdc6

View File

@@ -113,8 +113,8 @@
./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
./discord.sh "$(hostname) backup complete $details" ./discord.sh "$(hostname) backup complete $details"
>backup.out
else else
# If the exit status is not 0 (failure), send a failure message # If the exit status is not 0 (failure), send a failure message
./discord.sh "$(hostname) Backup has failed" ./discord.sh "$(hostname) Backup has failed"