From: Christian Brauner Date: Thu, 29 Mar 2018 16:29:49 +0000 (+0200) Subject: storage: fix lvm fs uuid generation X-Git-Tag: lxc-3.1.0~342^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16c92537a5b481f4dbea7b1fee840c3011a99805;p=thirdparty%2Flxc.git storage: fix lvm fs uuid generation Closes #2241. Signed-off-by: Christian Brauner --- diff --git a/src/lxc/storage/lvm.c b/src/lxc/storage/lvm.c index e18ba8424..2d4f12d7a 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)