[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#767731: Tentative fix



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



Reply to: