From 6b4925455cb734d5b61036e3c6868367c23700a7 Mon Sep 17 00:00:00 2001 From: pgauret Date: Mon, 15 Apr 2019 09:18:42 +0200 Subject: [PATCH] storage: update zfs 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 [christian.brauner@ubuntu.com: adapt commit message and add Signed-off-by for Paul] Signed-off-by: Christian Brauner --- src/lxc/storage/zfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lxc/storage/zfs.c b/src/lxc/storage/zfs.c index 0a804ad19..713884689 100644 --- a/src/lxc/storage/zfs.c +++ b/src/lxc/storage/zfs.c @@ -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; -- 2.47.2