diff options
author | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-08-29 15:11:44 +0800 |
---|---|---|
committer | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-08-29 15:25:56 +0800 |
commit | b15b028f061858de71fc98459d562dd76e3aecfe (patch) | |
tree | 281ac0388ceb22f4b9d9a93bcaae503fcba53bbf /opt/infra/roles/elk/tasks | |
parent | acf3b4ff0b556e121d665e31e893c8dc1159f034 (diff) |
Fix bug that start_job script exit unexpectedly
When `set -o errexit` is enabled in script, the non-zero return value
from `diff` is considered as an error. But actually diff returns 1 when
difference is found. The error exit option should be disabled when dealing
`diff`.
Change-Id: I6270ec8f7036b3d752736a80474468e26a613585
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'opt/infra/roles/elk/tasks')
0 files changed, 0 insertions, 0 deletions