storage: treat return value from ops->destroy as int
r->ops->destroy() returns an int, -1 on error.
When assigned to a bool, this becomes true and hides errors.
Signed-off-by:
Michael McCracken <mikmccra@cisco.com>
Showing
Please
register
or
sign in
to comment