redirect df errors to stdout

This commit is contained in:
Jérémy Lecour 2022-04-20 11:05:37 +02:00 committed by Jérémy Lecour
parent 2948d6faf8
commit 4896c87cc8
2 changed files with 3 additions and 1 deletions

View File

@ -14,6 +14,8 @@ The **patch** part changes is incremented if multiple releases happen the same m
### Changed
redirect df errors to stdout
### Fixed
### Removed

View File

@ -673,7 +673,7 @@ task_df() {
df_bin=$(command -v df)
if [ -n "${df_bin}" ]; then
last_result=$(${df_bin} --portability > "${dump_dir}/df.txt")
last_result=$(${df_bin} --portability > "${dump_dir}/df.txt 2>&1")
last_rc=$?
if [ ${last_rc} -eq 0 ]; then