Skip to content
Snippets Groups Projects
Commit 61d53834 authored by Jérôme Charaoui's avatar Jérôme Charaoui
Browse files

unset BACKUPNINJA_DEBUG before exit

parent 25c3a9f4
Branches
Tags
No related merge requests found
...@@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ...@@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed ### Changed
- [core] raise error if mail isn't found in $PATH and reportemail = yes - [core] raise error if mail isn't found in $PATH and reportemail = yes
- [core] unset BACKUPNINJA_DEBUG before exit
### Fixed ### Fixed
......
...@@ -672,6 +672,9 @@ if [ -n "$reporthost" ]; then ...@@ -672,6 +672,9 @@ if [ -n "$reporthost" ]; then
fi fi
fi fi
# unset exported envvars
unset BACKUPNINJA_DEBUG
# return exit code # return exit code
[ $halts == 0 ] || exit 2 [ $halts == 0 ] || exit 2
[ $fatals == 0 ] || exit 2 [ $fatals == 0 ] || exit 2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment