diff --git a/monitoring.sh b/monitoring.sh index c124ae9..8093203 100755 --- a/monitoring.sh +++ b/monitoring.sh @@ -6,7 +6,7 @@ # By: gbaconni@student.42lausanne.ch +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2021/11/04 12:36:53 by gbaconni #+# #+# # -# Updated: 2021/11/07 15:59:37 by gbaconni ### lausanne.ch # +# Updated: 2021/11/07 16:03:12 by gbaconni ### lausanne.ch # # # # **************************************************************************** # @@ -52,7 +52,7 @@ ft_lastboot () ft_lvmused () { - vgdisplay | awk '/Act PV/ { count=int($3) } END { printf "#LVM use: %s\n", (count > 0)? "yes": "no"; }' + vgdisplay | awk '/Act PV/ { count=int($3); } END { printf "#LVM use: %s\n", (count > 0)? "yes": "no"; }' return 0 }