From: <st...@us...> - 2012-08-02 15:51:13
|
Revision: 7155 http://xymon.svn.sourceforge.net/xymon/?rev=7155&view=rev Author: storner Date: 2012-08-02 15:51:05 +0000 (Thu, 02 Aug 2012) Log Message: ----------- Mac OSX client: Always use LANG=C to avoid uptime reporting load-average with comma instead of dot as decimal delimiter Modified Paths: -------------- branches/4.3.10/client/xymonclient-darwin.sh Modified: branches/4.3.10/client/xymonclient-darwin.sh =================================================================== --- branches/4.3.10/client/xymonclient-darwin.sh 2012-08-02 11:20:21 UTC (rev 7154) +++ branches/4.3.10/client/xymonclient-darwin.sh 2012-08-02 15:51:05 UTC (rev 7155) @@ -12,6 +12,11 @@ # # $Id$ +# Use LANG=C, since some locales have different numeric delimiters +# causing the Xymon load-average calculation to fail +LANG=C +export LANG + echo "[date]" date echo "[uname]" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |