lvm: Fix return value if lvm_create_clone fails
Returning -1 in a function with return type bool is the same as
returning true. Change to return false to indicate error properly.
Detected with cppcheck.
Signed-off-by:
Rikard Falkeborn <rikard.falkeborn@gmail.com>
Showing
Please
register
or
sign in
to comment