+29
−19
Loading
If any command fail while nullglob is set error handlers find bizare shell state and sometimes fail with odd errors. To avoid this introduce function that will never leave nullglob set after return Change-Id: Iff8ae410072c4e5f7f9e72e28171fc24e6186f5f Signed-off-by:Pawel Wodkowski <pawelx.wodkowski@intel.com> Reviewed-on: https://review.gerrithub.io/397092 Tested-by:
SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by:
Karol Latecki <karol.latecki@intel.com> Reviewed-by:
Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com>