diff --git a/lib/libzfs/libzfs_pool.c b/lib/libzfs/libzfs_pool.c index 7c3b75cac4..394de7b78b 100644 --- a/lib/libzfs/libzfs_pool.c +++ b/lib/libzfs/libzfs_pool.c @@ -2198,7 +2198,7 @@ err: free(paths); (void) close(base); #endif - return (-1); + return (0); } typedef struct zvol_cb {