From: pgauret Date: Wed, 24 Apr 2019 16:29:21 +0000 (+0200) Subject: Fix 'zfs get' command order X-Git-Tag: lxc-3.2.0~94^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69b6aa30563582610d4e82a61cebef145b404954;p=thirdparty%2Flxc.git Fix 'zfs get' command order Another case of calling 'zfs get' which requires reordering arguments to work with latest zfs. Signed-off-by: Paul Gauret --- diff --git a/src/lxc/storage/zfs.c b/src/lxc/storage/zfs.c index 713884689..b75708f1c 100644 --- a/src/lxc/storage/zfs.c +++ b/src/lxc/storage/zfs.c @@ -101,7 +101,7 @@ int zfs_get_parent_snapshot_exec_wrapper(void *args) { struct zfs_args *zfs_args = args; - execlp("zfs", "zfs", "get", "origin", "-o", "value", "-H", + execlp("zfs", "zfs", "get", "-H", "-o", "value", "origin", zfs_args->dataset, (char *)NULL); return -1;