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