redirect df errors to stdout
This commit is contained in:
parent
2948d6faf8
commit
4896c87cc8
|
@ -14,6 +14,8 @@ The **patch** part changes is incremented if multiple releases happen the same m
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
redirect df errors to stdout
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
|
|
|
@ -673,7 +673,7 @@ task_df() {
|
||||||
df_bin=$(command -v df)
|
df_bin=$(command -v df)
|
||||||
|
|
||||||
if [ -n "${df_bin}" ]; then
|
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=$?
|
last_rc=$?
|
||||||
|
|
||||||
if [ ${last_rc} -eq 0 ]; then
|
if [ ${last_rc} -eq 0 ]; then
|
||||||
|
|
Loading…
Reference in a new issue