Florian Haas wrote:
> Dejan,
> 
> was this intentional?
> 
>> +# all of these need to pass the validate check
>> +route_validate
>> +case $__OCF_ACTION in
>> +start)              route_start;;
>>  stop)               route_stop;;
>> [...]
> 
> It calls route_validate(), but doesn't do anything if it returns nonzero.
> 
> Shouldn't this be like "route_validate || exit $?"?

Hmmm. On second thought, I don't really like that. It causes a
misconfigured resource (i.e. one that does not pass the validate check)
to show up as unmanaged immediately after adding, which I find
misleading. OK if I revert this to the earlier behavior?

Cheers,
Florian

-- 
: Florian G. Haas
: LINBIT Information Technologies GmbH
: Vivenotgasse 48, A-1120 Vienna, Austria
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to