From 16c92537a5b481f4dbea7b1fee840c3011a99805 Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Thu, 29 Mar 2018 18:29:49 +0200 Subject: [PATCH] storage: fix lvm fs uuid generation Closes #2241. Signed-off-by: Christian Brauner --- src/lxc/storage/lvm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lxc/storage/lvm.c b/src/lxc/storage/lvm.c index e18ba8424c..2d4f12d7ab 100644 --- a/src/lxc/storage/lvm.c +++ b/src/lxc/storage/lvm.c @@ -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)