0edc874f85
Issue reports: return: can only `return' from a function or sourced script. Use "exit 1" instead, and ignore changes to json.power_on_time.hours. Issue link: https://github.com/spdk/spdk/issues/1111 This is to fix issue #1111 Signed-off-by: dongx.yi <dongx.yi@intel.com> Change-Id: I90198e8237cb587fbeb7777f6b2da783fd15ba04 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/478014 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>