1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +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:
Tony Asleson 2013-04-02 17:10:02 -04:00
parent 45a0f9e45b
commit bfa265f198

View File

@ -66,6 +66,12 @@ lvm_t lvm_init(const char *system_dir)
*/
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;
}