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
This commit is contained in:
2
check
2
check
@@ -168,7 +168,7 @@ function testdf()
|
|||||||
fi
|
fi
|
||||||
IFS="
|
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/\%//'`
|
fs_space=`echo $ligne | awk '{print $5}'| sed 's/\%//'`
|
||||||
filesys=`echo $ligne | awk '{print $6}'`
|
filesys=`echo $ligne | awk '{print $6}'`
|
||||||
if [ $fs_space -gt $limite ]; then
|
if [ $fs_space -gt $limite ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user