mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Add traceback for failpath
This commit is contained in:
parent
475c751076
commit
79e4194e59
@ -729,7 +729,7 @@ static int get_initial_state(struct dm_hash_table *excl_uuid)
|
|||||||
if (dm_asprintf(&lvs_cmd, "%s lvs --config 'log{command_names=0 prefix=\"\"}' "
|
if (dm_asprintf(&lvs_cmd, "%s lvs --config 'log{command_names=0 prefix=\"\"}' "
|
||||||
"--nolocking --noheadings -o vg_uuid,lv_uuid,lv_attr,vg_attr",
|
"--nolocking --noheadings -o vg_uuid,lv_uuid,lv_attr,vg_attr",
|
||||||
lvm_binary) < 0)
|
lvm_binary) < 0)
|
||||||
return 0;
|
return_0;
|
||||||
|
|
||||||
/* FIXME: Maybe link and use liblvm2cmd directly instead of fork */
|
/* FIXME: Maybe link and use liblvm2cmd directly instead of fork */
|
||||||
if (!(lvs = popen(lvs_cmd, "r"))) {
|
if (!(lvs = popen(lvs_cmd, "r"))) {
|
||||||
|
Loading…
Reference in New Issue
Block a user