nbd-proxy: clear errors from checking hook presence

We don't want to report an error if a hook is inacessable (and is the
last hook we check), so clear rc in these conditions.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
1 file changed