diff --git a/.monitoring.sh.swp b/.monitoring.sh.swp index 699f2cb..4814555 100644 Binary files a/.monitoring.sh.swp and b/.monitoring.sh.swp differ diff --git a/monitoring.sh b/monitoring.sh index 2fd5323..cc212c7 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/04 17:05:07 by gbaconni ### lausanne.ch # +# Updated: 2021/11/04 17:06:21 by gbaconni ### lausanne.ch # # # # **************************************************************************** # @@ -69,7 +69,7 @@ ft_update () main () { test -f /etc/default/monitoring && source /etc/default/monitoring - if [ "${MONITORING}" != "yes" ] || [ "${1}" != "-f" ] + if [ "${MONITORING}" != "yes" ] && [ "${1}" != "-f" ] then return 0 fi