mirror of
https://0xacab.org/liberate/backupninja.git
synced 2024-11-08 11:52:32 +01:00
unset BACKUPNINJA_DEBUG before exit
This commit is contained in:
parent
25c3a9f421
commit
61d53834fa
@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
### Changed
|
||||
|
||||
- [core] raise error if mail isn't found in $PATH and reportemail = yes
|
||||
- [core] unset BACKUPNINJA_DEBUG before exit
|
||||
|
||||
### Fixed
|
||||
|
||||
|
@ -672,6 +672,9 @@ if [ -n "$reporthost" ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
# unset exported envvars
|
||||
unset BACKUPNINJA_DEBUG
|
||||
|
||||
# return exit code
|
||||
[ $halts == 0 ] || exit 2
|
||||
[ $fatals == 0 ] || exit 2
|
||||
|
Loading…
Reference in New Issue
Block a user