mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
lvm2app: Set suppress to 1
Removes printing to stdout/stderr etc. Signed-off-by: Tony Asleson <tasleson@redhat.com>
This commit is contained in:
parent
45a0f9e45b
commit
bfa265f198
@ -66,6 +66,12 @@ lvm_t lvm_init(const char *system_dir)
|
|||||||
*/
|
*/
|
||||||
cmd->cmd_line = "liblvm";
|
cmd->cmd_line = "liblvm";
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Turn off writing to stderr etc., not sure if there is a better way
|
||||||
|
* to do this?
|
||||||
|
*/
|
||||||
|
log_suppress(1);
|
||||||
|
|
||||||
return (lvm_t) cmd;
|
return (lvm_t) cmd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user