Update backup.sh

This commit is contained in:
Whispering Wind
2024-09-02 23:32:16 +03:30
committed by GitHub
parent accc4de9f8
commit 3d169c742a

View File

@ -14,7 +14,7 @@ FILES_TO_BACKUP=(
"/etc/hysteria/config.json"
)
zip -j "$BACKUP_FILE" "${FILES_TO_BACKUP[@]}" >/dev/null 2>&1
zip -j "$BACKUP_FILE" "${FILES_TO_BACKUP[@]}" >/dev/null
if [ $? -eq 0 ]; then
echo "Backup successfully created"