|
@@ -31,7 +31,7 @@
|
31
|
31
|
if (is_valid_fd(STDIN_FILENO) &&
|
32
|
32
|
--- a/tools/lvmcmdline.c
|
33
|
33
|
+++ b/tools/lvmcmdline.c
|
34
|
|
-@@ -1606,6 +1606,7 @@ int lvm_split(char *str, int *argc, char
|
|
34
|
+@@ -1635,6 +1635,7 @@ int lvm_split(char *str, int *argc, char
|
35
|
35
|
/* Make sure we have always valid filedescriptors 0,1,2 */
|
36
|
36
|
static int _check_standard_fds(void)
|
37
|
37
|
{
|
|
@@ -39,7 +39,7 @@
|
39
|
39
|
int err = is_valid_fd(STDERR_FILENO);
|
40
|
40
|
|
41
|
41
|
if (!is_valid_fd(STDIN_FILENO) &&
|
42
|
|
-@@ -1632,6 +1633,12 @@ static int _check_standard_fds(void)
|
|
42
|
+@@ -1661,6 +1662,12 @@ static int _check_standard_fds(void)
|
43
|
43
|
strerror(errno));
|
44
|
44
|
return 0;
|
45
|
45
|
}
|