From 865a19669658082fcbe71bdb1fd8075e1d6de51f Mon Sep 17 00:00:00 2001 From: Niall Donegan Date: Tue, 24 Jul 2012 14:02:24 +0100 Subject: [PATCH] Redirected the output of which to the great bitbucket in the sky. --- plugins/disk/lvm_ | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/disk/lvm_ b/plugins/disk/lvm_ index 5d6ceb53..35ac5f36 100755 --- a/plugins/disk/lvm_ +++ b/plugins/disk/lvm_ @@ -45,9 +45,9 @@ munin-node. EOF if [ "$1" = "autoconf" ]; then - if ! which lvs 2>/dev/null; then + if ! which lvs 2>&1 >/dev/null; then echo "no (lvs not found)" - elif ! which vgs 2>/dev/null; then + elif ! which vgs 2>&1 >/dev/null; then echo "no (vgs not found)" else echo "yes"