Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion agents/check_mk_agent.linux
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ section_nfs_mounts() {
proc_mounts_file=${1}

if inpath waitmax; then
STAT_VERSION=$(stat --version | head -1 | cut -d" " -f4)
STAT_VERSION=$(stat --version 2>/dev/null | head -1 | cut -d" " -f4)
STAT_BROKE="5.3.0"

json_templ() {
Expand Down
2 changes: 1 addition & 1 deletion agents/check_mk_agent.openwrt
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ section_mounts() {
# call statfs()). If this lasts more then 2 seconds we
# consider it as hanging. We need waitmax.
if inpath waitmax; then
STAT_VERSION=$(stat --version | head -1 | cut -d" " -f4)
STAT_VERSION=$(stat --version 2>/dev/null | head -1 | cut -d" " -f4)
STAT_BROKE="5.3.0"

echo '<<<nfsmounts>>>'
Expand Down
Loading