forked from evolix/ansible-roles
fix dump-server-state quote error
This commit is contained in:
parent
a5bae6645e
commit
4214db4ad6
|
@ -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 2>&1")
|
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