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}')