storage: fix lvm fs uuid generation

Closes #2241. Signed-off-by: 's avatarChristian Brauner <christian.brauner@ubuntu.com>
parent 9104c79a
...@@ -324,7 +324,7 @@ static int lvm_snapshot_create_new_uuid_wrapper(void *data) ...@@ -324,7 +324,7 @@ static int lvm_snapshot_create_new_uuid_wrapper(void *data)
if (strcmp(args->fstype, "btrfs") == 0) if (strcmp(args->fstype, "btrfs") == 0)
execlp("btrfstune", "btrfstune", "-f", "-u", args->lv, (char *)NULL); 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) static int lvm_snapshot(struct lxc_storage *orig, const char *path, uint64_t size)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment