sys: fix sysctl -a info in sysreport

This commit is contained in:
Jerome Charaoui 2021-01-12 11:56:07 -05:00
parent 732715e1f0
commit 297f3f8562

View File

@ -319,7 +319,7 @@ if [ -f /etc/cluster.conf -o -f /etc/cluster.xml ] ; then
fi
STATUS="Gathering sysctl information (sysctl -a):"
catiffile "sysctl -a 2>/dev/null"
catifexec "/sbin/sysctl" "-a"
STATUS="Gathering sysctl information (/etc/sysctl.conf):"
catiffile "/etc/sysctl.conf"