Unverified Commit 404b9449 by pgauret Committed by Christian Brauner

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: 's avatarPaul Gauret <pgauret@yahoo.com> [christian.brauner@ubuntu.com: adapt commit message and add Signed-off-by for Paul] Signed-off-by: 's avatarChristian Brauner <christian.brauner@ubuntu.com>
parent e93cd8c5
...@@ -53,7 +53,7 @@ int zfs_detect_exec_wrapper(void *data) ...@@ -53,7 +53,7 @@ int zfs_detect_exec_wrapper(void *data)
{ {
struct zfs_args *args = 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); (char *)NULL);
return -1; return -1;
......
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