redirect df errors to stdout
This commit is contained in:
parent
2948d6faf8
commit
4896c87cc8
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue