Skip to content

Commit

Permalink
storage: fix lvm fs uuid generation
Browse files Browse the repository at this point in the history
Closes #2241.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner committed Mar 29, 2018
1 parent 9104c79 commit 16c9253
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lxc/storage/lvm.c
Expand Up @@ -324,7 +324,7 @@ static int lvm_snapshot_create_new_uuid_wrapper(void *data)
if (strcmp(args->fstype, "btrfs") == 0)
execlp("btrfstune", "btrfstune", "-f", "-u", args->lv, (char *)NULL);

return -1;
return 0;
}

static int lvm_snapshot(struct lxc_storage *orig, const char *path, uint64_t size)
Expand Down

0 comments on commit 16c9253

Please sign in to comment.