1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-09 01:18:39 +03:00

Add traceback for failpath

This commit is contained in:
Zdenek Kabelac 2012-03-01 22:55:21 +00:00
parent 59c71b93ad
commit a18693e705

View File

@ -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=\"\"}' "
"--nolocking --noheadings -o vg_uuid,lv_uuid,lv_attr,vg_attr",
lvm_binary) < 0)
return 0;
return_0;
/* FIXME: Maybe link and use liblvm2cmd directly instead of fork */
if (!(lvs = popen(lvs_cmd, "r"))) {