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 $?"?

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