Bonjour Francois,

> Is your fix more complicated then this?
>   -if [ `${IPCS_CMD} -u 2>/dev/null | awk -F' ' '/segments allocated/ {print 
> $3}'` -ne 0 ]; then
>   +if [ `LANG=C ${IPCS_CMD} -u 2>/dev/null | awk -F' ' '/segments allocated/ 
> {print $3}'` -ne 0 ]; then

My "fix" was more dirty than that: I globally set LANG=C the line above
this one.

A better way would be to get information from somewhere in /proc, but I
did not manage to find it. ipcs command get it directly from ABI.


Benoit

_______________________________________________
forensics-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/forensics-devel

Reply via email to