From 306ccc388bd4f21272ee2cf6ceb58fb86eb84e27 Mon Sep 17 00:00:00 2001 From: Daniel Clavijo Coca Date: Wed, 11 Mar 2020 13:37:09 -0600 Subject: [PATCH] B #4250: Fix LXD monitoring log (#4346) (cherry picked from commit 756b8d630b964c3b3be0fcf87da74b45922f1ec0) --- src/im_mad/remotes/lxd-probes.d/host/system/profiles.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/im_mad/remotes/lxd-probes.d/host/system/profiles.sh b/src/im_mad/remotes/lxd-probes.d/host/system/profiles.sh index 860b0b8819..6f285a2449 100755 --- a/src/im_mad/remotes/lxd-probes.d/host/system/profiles.sh +++ b/src/im_mad/remotes/lxd-probes.d/host/system/profiles.sh @@ -1,6 +1,6 @@ #!/bin/bash -cmd='lxc profile list' +cmd='lxc profile list 2>/dev/null' profiles=$($cmd | grep -v -- -+- | grep -v NAME | grep -v default | awk '{print $2}')