master - lvm2app: Set suppress to 1
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=bfa265f1985818567b1eb6f7fae0ff3ba315b152 Commit: bfa265f1985818567b1eb6f7fae0ff3ba315b152 Parent: 45a0f9e45be5999095c71382361f37f7c24d86d6 Author: Tony Asleson <[email protected]> AuthorDate: Tue Apr 2 17:10:02 2013 -0400 Committer: Tony Asleson <[email protected]> CommitterDate: Tue Jul 2 14:24:34 2013 -0500
lvm2app: Set suppress to 1
Removes printing to stdout/stderr etc.
Signed-off-by Tony Asleson <[email protected]>
--- liblvm/lvm_base.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
liblvm/lvm_base.c +6 -0
@@ -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; }