[PR #64] [CLOSED] Hotfix/exit code #180

Closed
opened 2026-02-27 08:14:46 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/lucascbeyeler/zmbackup/pull/64
Author: @brunogui0812
Created: 2/16/2018
Status: Closed

Base: 1.2-versionHead: hotfix/exit-code


📝 Commits (10+)

  • adad21a Adjusted to consider empty backup file as error
  • 0fb4bff Fixed bug that make zmbackup always return exit code 0.
  • 1e40214 Fixed bug that make notify mail don't print correct backup status
  • cfa954d Changed mail subject to give more prominence to backup status
  • 6b53296 Fixed bug on sql file
  • 164edb3 changed the place where is created the exit_code variable. Left exit code 2 out of mail notifications.
  • 5af802a Fixed IF syntax
  • de574b7 Update ParallelAction.sh
  • 62f14f0 Update zmbackup
  • d64775f Update zmbackup

📊 Changes

4 files changed (+25 additions, -6 deletions)

View changed files

📝 project/lib/bash/BackupAction.sh (+15 -1)
📝 project/lib/bash/MiscAction.sh (+4 -3)
📝 project/lib/bash/NotifyAction.sh (+5 -1)
📝 project/lib/sqlite3/database.sql (+1 -1)

📄 Description

Make zmbackup not exit code 0 on backup error


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/lucascbeyeler/zmbackup/pull/64 **Author:** [@brunogui0812](https://github.com/brunogui0812) **Created:** 2/16/2018 **Status:** ❌ Closed **Base:** `1.2-version` ← **Head:** `hotfix/exit-code` --- ### 📝 Commits (10+) - [`adad21a`](https://github.com/lucascbeyeler/zmbackup/commit/adad21a8bf4d71e3fb639c7cda53d30e438cc858) Adjusted to consider empty backup file as error - [`0fb4bff`](https://github.com/lucascbeyeler/zmbackup/commit/0fb4bff56fcda5b6e8d91884862cba9d5d105580) Fixed bug that make zmbackup always return exit code 0. - [`1e40214`](https://github.com/lucascbeyeler/zmbackup/commit/1e402143729ac719077c8f77e078af2510e84454) Fixed bug that make notify mail don't print correct backup status - [`cfa954d`](https://github.com/lucascbeyeler/zmbackup/commit/cfa954de6e4a5ddb36d6ec265e88142645dd28fa) Changed mail subject to give more prominence to backup status - [`6b53296`](https://github.com/lucascbeyeler/zmbackup/commit/6b532961fc426034c3bace8eeca621408b10daa1) Fixed bug on sql file - [`164edb3`](https://github.com/lucascbeyeler/zmbackup/commit/164edb33da87354cfdfae6b54406cf30c1d4cce3) changed the place where is created the exit_code variable. Left exit code 2 out of mail notifications. - [`5af802a`](https://github.com/lucascbeyeler/zmbackup/commit/5af802ada8491181ede366f938302c7e9a24aed4) Fixed IF syntax - [`de574b7`](https://github.com/lucascbeyeler/zmbackup/commit/de574b73bbd2318b3b1f82287c650f545e8a9d3e) Update ParallelAction.sh - [`62f14f0`](https://github.com/lucascbeyeler/zmbackup/commit/62f14f01c3c6f2eec5a89fba79fcbc09e73393ec) Update zmbackup - [`d64775f`](https://github.com/lucascbeyeler/zmbackup/commit/d64775f62c056ea55ba220da1597547f245e55c7) Update zmbackup ### 📊 Changes **4 files changed** (+25 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `project/lib/bash/BackupAction.sh` (+15 -1) 📝 `project/lib/bash/MiscAction.sh` (+4 -3) 📝 `project/lib/bash/NotifyAction.sh` (+5 -1) 📝 `project/lib/sqlite3/database.sql` (+1 -1) </details> ### 📄 Description Make zmbackup not exit code 0 on backup error --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 08:14:46 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/zmbackup#180
No description provided.