mirror of
https://github.com/imapsync/imapsync.git
synced 2025-07-20 09:15:53 +02:00
Fix locale for FreeBSD loadavg()
This commit is contained in:
parent
806a5382cc
commit
3251a25c5c
1 changed files with 1 additions and 1 deletions
2
imapsync
2
imapsync
|
@ -16080,7 +16080,7 @@ sub loadavg_freebsd
|
||||||
|
|
||||||
if ( ! defined $file ) {
|
if ( ! defined $file ) {
|
||||||
eval {
|
eval {
|
||||||
$loadavg = `/sbin/sysctl vm.loadavg` ;
|
$loadavg = `LC_ALL=C /sbin/sysctl vm.loadavg` ;
|
||||||
#myprint( "LOADAVG FREEBSD: $loadavg\n" ) ;
|
#myprint( "LOADAVG FREEBSD: $loadavg\n" ) ;
|
||||||
} ;
|
} ;
|
||||||
if ( $EVAL_ERROR ) { myprint( "[$EVAL_ERROR]\n" ) ; return ; }
|
if ( $EVAL_ERROR ) { myprint( "[$EVAL_ERROR]\n" ) ; return ; }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue