mirror of
git://sourceware.org/git/lvm2.git
synced 2025-10-01 21:44:22 +03:00
clvmd: use pclose
For popened FILE use pclose.
This commit is contained in:
@@ -772,8 +772,8 @@ static int get_initial_state(struct dm_hash_table *excl_uuid)
|
||||
}
|
||||
}
|
||||
}
|
||||
if (fclose(lvs))
|
||||
DEBUGLOG("lvs fclose failed: %s\n", strerror(errno));
|
||||
if (pclose(lvs))
|
||||
DEBUGLOG("lvs pclose failed: %s\n", strerror(errno));
|
||||
|
||||
dm_free(lvs_cmd);
|
||||
|
||||
|
Reference in New Issue
Block a user