summaryrefslogtreecommitdiffstats
path: root/liblvm/lvm_base.c
diff options
context:
space:
mode:
authorAlasdair G Kergon <agk@redhat.com>2012-08-26 00:15:45 +0100
committerAlasdair G Kergon <agk@redhat.com>2012-08-26 00:15:45 +0100
commit3acc85caa8d313b8c21e4bef7f84601731e74b2b (patch)
treed9de1cab92f87c6cb45285957ef18e26266714ed /liblvm/lvm_base.c
parent438e0050dfed1f8f2d74670a5f7c5e8c8819c777 (diff)
downloadlvm2-3acc85caa8d313b8c21e4bef7f84601731e74b2b.tar.gz
lvm2-3acc85caa8d313b8c21e4bef7f84601731e74b2b.tar.xz
lvm2-3acc85caa8d313b8c21e4bef7f84601731e74b2b.zip
buffering: use unbuffered silent mode for liblvm
Disable private buffering when using liblvm. When private stdin/stdout buffering is not used always use silent mode.
Diffstat (limited to 'liblvm/lvm_base.c')
-rw-r--r--liblvm/lvm_base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/liblvm/lvm_base.c b/liblvm/lvm_base.c
index 2f39b462..815151e6 100644
--- a/liblvm/lvm_base.c
+++ b/liblvm/lvm_base.c
@@ -37,7 +37,7 @@ lvm_t lvm_init(const char *system_dir)
/* create context */
/* FIXME: split create_toolcontext */
/* FIXME: make all globals configurable */
- cmd = create_toolcontext(0, system_dir, 1, 0);
+ cmd = create_toolcontext(0, system_dir, 0, 0);
if (!cmd)
return NULL;