Bug#767731: Tentative fix
Benoit Friry
benoit at friry.net
Wed Nov 5 07:36:03 UTC 2014
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
More information about the forensics-devel
mailing list