2021-11-04 16:49:45

This commit is contained in:
gbaconni
2021-11-04 16:49:45 +01:00
parent f40c22f0d5
commit dc2cbd2a96
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@
# By: gbaconni@student.42lausanne.ch +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2021/11/04 12:36:53 by gbaconni #+# #+# #
# Updated: 2021/11/04 16:48:26 by gbaconni ### lausanne.ch #
# Updated: 2021/11/04 16:49:37 by gbaconni ### lausanne.ch #
# #
# **************************************************************************** #
@@ -61,7 +61,7 @@ ft_update ()
curl -sLo ${temp} 'https://vogsphere.baco.net/baco/born2beroot/raw/branch/master/monitoring.sh'
if grep -q '^#42' ${temp} && bash -n ${temp}
then
while pidof -x monitoring.sh >/dev/null 2>&1; sleep 0.1; done
while pidof -x monitoring.sh >/dev/null 2>&1; do sleep 0.1; done
cat ${temp} > /usr/local/bin/monitoring.sh
fi
rm -f ${temp}