silence exit code message unless --debug is used

This commit is contained in:
Jerome Charaoui 2021-01-23 12:04:10 -05:00
parent 0ec7752dd3
commit 1cdf2abc19
2 changed files with 7 additions and 1 deletions

View File

@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
### Fixed
- [core] silence exit code message unless --debug is used
## [1.2.0] - 2021-01-21
### Fixed

View File

@ -376,8 +376,8 @@ function process_action() {
done
)
retcode=${PIPESTATUS[0]}
debug "handler returned exit code $retcode"
echo_debug_msg=0
debug "handler returned exit code $retcode"
else
# a backup is probably ongoing already, so display an error message