diff options
Diffstat (limited to 'cmds-receive.c')
-rw-r--r-- | cmds-receive.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cmds-receive.c b/cmds-receive.c index d0525bfb..62a79850 100644 --- a/cmds-receive.c +++ b/cmds-receive.c @@ -1106,11 +1106,8 @@ static int do_receive(struct btrfs_receive *r, const char *tomnt, * subvols we want to receive in. */ ret = btrfs_list_get_path_rootid(r->mnt_fd, &subvol_id); - if (ret) { - error("cannot resolve our subvolid: %d", - ret); + if (ret) goto out; - } root_subvol_path[0] = 0; ret = btrfs_subvolid_resolve(r->mnt_fd, root_subvol_path, |