+2
−1
Loading
This shellcheck case warns users when they use the pattern A && B || C so that they don't accidentally try to use it as an if-then-else statement. However, there is a valid way of using this pattern to denote, do A, if it succeeds, do B, if either A or B fails, do C. Change-Id: I283b433c15d07873befd182e8327f2e0602490aa Signed-off-by:Seth Howell <seth.howell@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/476960 Community-CI: SPDK CI Jenkins <sys_sgci@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Paul Luse <paul.e.luse@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by:
Karol Latecki <karol.latecki@intel.com>