We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bba8bb1 commit 9cedb11Copy full SHA for 9cedb11
usr/sbin/snmpd-smartctl-connector
@@ -142,7 +142,7 @@ function send_device_attr
142
143
# Find the entry in above file
144
# shellcheck disable=SC2207
145
- if VALUES=($(grep -m 1 -E ${1} < "${DEVFNAME}")); then
+ if VALUES=($(grep -m 1 -E "${1}" < "${DEVFNAME}")); then
146
if [[ "${2}" == "R" ]]; then
147
if is_positive_integer "${VALUES[9]}"; then
148
send_gauge "${3}" "${VALUES[9]}"
0 commit comments