HomeClusterLabs Projects

Medium: iscsi: use have_binary, not check_binary, in open_iscsi_setup

Description

Medium: iscsi: use have_binary, not check_binary, in open_iscsi_setup

open_iscsi_setup used check_binary which immediately exits with
OCF_ERR_INSTALLED when required binaries are not installed. This
breaks probes, which should exit with OCF_NOT_RUNNING in this
case. Use have_binary and _return_ OCF_ERR_INSTALLED from the function
instead.

Details

Provenance
Florian Haas <florian.haas@linbit.com>Authored on Jun 14 2011, 5:05 AM
Parents
rR210ba27a2f4b: Merge pull request #14 from tserong/master
Branches
Unknown
Tags
Unknown

Event Timeline