]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
storage: update zfs 2938/head
authorpgauret <pgauret@yahoo.com>
Mon, 15 Apr 2019 07:18:42 +0000 (09:18 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Mon, 15 Apr 2019 20:52:16 +0000 (22:52 +0200)
Change zfs arguments. This also works with older zfs versions, tested with
zfs 0.7.9-3 on Ubuntu 18.10.

Closes #2916.

Signed-off-by: Paul Gauret <pgauret@yahoo.com>
[christian.brauner@ubuntu.com: adapt commit message and add Signed-off-by for Paul]
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/storage/zfs.c

index 0a804ad19c528c22d00e7458e254e5b5e8285a2a..71388468910f6ba93f76dd8dda3d41d55129dfaf 100644 (file)
@@ -53,7 +53,7 @@ int zfs_detect_exec_wrapper(void *data)
 {
        struct zfs_args *args = data;
 
-       execlp("zfs", "zfs", "get", "type", "-H", "-o", "name", args->dataset,
+       execlp("zfs", "zfs", "get", "-H", "-o", "name", "type", args->dataset,
               (char *)NULL);
 
        return -1;