dreport: Fix warnings displayed during plugin execution

Tested:
Tue Apr 26 07:20:23 UTC 2022 INFO: Collected proc fd
Tue Apr 26 07:20:18 UTC 2022 INFO: Collected Attribute list
Tue Apr 26 07:20:18 UTC 2022 INFO: Copied Device tree file
/var/lib/phosphor-software-manager/hostfw/running/DEVTREE
Tue Apr 26 07:20:18 UTC 2022 INFO: Copied Attribute info db
/usr/share/pdata/attributes_info.db

Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
Change-Id: I34e454552b5f903721acf6149a4abee6b3f53bb7
diff --git a/tools/dreport.d/plugins.d/procfd b/tools/dreport.d/plugins.d/procfd
index f1a1ce5..d6a07af 100644
--- a/tools/dreport.d/plugins.d/procfd
+++ b/tools/dreport.d/plugins.d/procfd
@@ -4,7 +4,10 @@
 # @brief: List the open file descriptors
 #
 
-. $DREPORT_INCLUDE/functions
+# shellcheck disable=SC1091
+. "$DREPORT_INCLUDE"/functions
 
 file_name="procfd.log"
-add_cmd_output "ls -Al /proc/*/fd/" "$file_name" "procfd"
+desc="proc fd"
+cmd="ls -Al /proc/*/fd/ 2> /dev/null"
+add_cmd_output "$cmd" "$file_name" "$desc"