From 518e469a9ee2ab5f291e90f53641f7cb2a3876fe Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Wed, 21 Sep 2016 06:46:03 +0000 Subject: [PATCH] Force the language to C to have the default error messages git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3047 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check b/check index 1a37c46..4d049fe 100755 --- a/check +++ b/check @@ -168,7 +168,7 @@ function testdf() fi IFS=" " - for ligne in `df -P -l -x tmpfs -x devtmpfs $fs | sed '/Filesystem/d'`; do + for ligne in `LANGUAGE=C df -P -l -x tmpfs -x devtmpfs $fs | sed '/Filesystem/d'`; do fs_space=`echo $ligne | awk '{print $5}'| sed 's/\%//'` filesys=`echo $ligne | awk '{print $6}'` if [ $fs_space -gt $limite ]; then