+1
−1
Loading
service is a plain Bash wrapper which either executes systemctl or rc sysvinit scripts directly, hence its exit status should follow standard logic - 0 for success != 0 for failure. Reverse the check to not complain about service failure when it was actually successfully started. Change-Id: I29dd22c884157182549ebcc2ab4097eb098d7d3b Signed-off-by:Michal Berger <michalx.berger@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1603 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com>