Skip to content

Commit 3a81029

Browse files
authored
Update check_fd.sh
1 parent efbb96c commit 3a81029

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/plugin/check_fd.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ max=$(cat /proc/sys/fs/file-max)
1717

1818
echo "current fd is $count and max is $max"
1919
if [[ $count -gt $((max*8/10)) ]]; then
20-
echo "more than 80% fd has been used($count:$max)"
20+
echo "more than 80 percent of fd has been used($count:$max)"
2121
exit $NONOK
2222
fi
2323
echo "fd is ok"
24-
exit $OK
24+
exit $OK

0 commit comments

Comments
 (0)