1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

lvm2cmd.so should skip the check for open fds.

This commit is contained in:
Alasdair Kergon 2005-02-03 16:34:53 +00:00
parent 421c2a6aed
commit 3ef1aceed6
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,6 @@
Version 2.01.04 - Version 2.01.04 -
=================================== ===================================
lvm2cmd.so should skip the check for open fds.
Remove unused -f from pvmove. Remove unused -f from pvmove.
Gulm clvmd doesn't report "connection refused" errors. Gulm clvmd doesn't report "connection refused" errors.
clvmd does a basic config file sanity check at startup. clvmd does a basic config file sanity check at startup.

View File

@ -998,8 +998,6 @@ static struct cmd_context *_init_lvm(void)
{ {
struct cmd_context *cmd; struct cmd_context *cmd;
_close_stray_fds();
if (!(cmd = create_toolcontext(&the_args[0]))) { if (!(cmd = create_toolcontext(&the_args[0]))) {
stack; stack;
return NULL; return NULL;
@ -1417,6 +1415,8 @@ int lvm2_main(int argc, char **argv)
int ret, alias = 0; int ret, alias = 0;
struct cmd_context *cmd; struct cmd_context *cmd;
_close_stray_fds();
if (!(cmd = _init_lvm())) if (!(cmd = _init_lvm()))
return -1; return -1;