summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarian Csontos <mcsontos@redhat.com>2020-01-09 15:53:37 +0100
committerMarian Csontos <mcsontos@redhat.com>2020-01-10 10:30:48 +0100
commita297549e1610b12745c1f45783db6a9bff032aed (patch)
tree88509c69c3d6676fbd0723404adde46866cda96b
parentefa31825ba8a41d69f3a726678a002fefc66f205 (diff)
downloadlvm2-dev-mcsontos-python-bz1782864.tar.gz
WIP: Set cmd name in lvm2appdev-mcsontos-python-bz1782864
Fix BZ 1792864
-rw-r--r--liblvm/lvm_base.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/liblvm/lvm_base.c b/liblvm/lvm_base.c
index fce994cfd..21994116d 100644
--- a/liblvm/lvm_base.c
+++ b/liblvm/lvm_base.c
@@ -70,6 +70,7 @@ static lvm_t _lvm_init(const char *system_dir)
* cmd_line = "lvm_vg_create: vg1\nlvm_vg_extend vg1 /dev/sda1\n"
*/
cmd->cmd_line = "liblvm";
+ set_cmd_name("liblvm");
/*
* Turn off writing to stdout/stderr.