From dac90278db8837b1ff6c422af7ae18742d6cc250 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Wed, 12 Mar 2014 17:38:23 -0400 Subject: [PATCH] More shell fixes --- library/database/riak | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/database/riak b/library/database/riak index 2ab51046af..e1aedf25fb 100644 --- a/library/database/riak +++ b/library/database/riak @@ -105,7 +105,7 @@ except ImportError: def ring_check(module, riak_admin_bin): - cmd = '%s ringready 2> /dev/null' % riak_admin_bin + cmd = '%s ringready' % riak_admin_bin rc, out, err = module.run_command(cmd) if rc == 0 and 'TRUE All nodes agree on the ring' in out: return True @@ -221,7 +221,7 @@ def main(): if wait_for_handoffs: timeout = time.time() + wait_for_handoffs while True: - cmd = '%s transfers 2> /dev/null' % riak_admin_bin + cmd = '%s transfers' % riak_admin_bin rc, out, err = module.run_command(cmd) if 'No transfers active' in out: result['handoffs'] = 'No transfers active.'