aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJim P <jim@pingle.org>2013-10-02 09:48:56 -0700
committerJim P <jim@pingle.org>2013-10-02 09:48:56 -0700
commit5759df034e190b268f4acc6be31ce0e15604cbc6 (patch)
tree05105dafeeceaa7c469b91e794c3da135c17ffe6 /config
parentee3039e1f65a745c857c1c5bb9a4f93d419b29f8 (diff)
parent30012ddf4bd78090db45bcb53e55cc1955cf1d39 (diff)
downloadpfsense-packages-5759df034e190b268f4acc6be31ce0e15604cbc6.tar.gz
pfsense-packages-5759df034e190b268f4acc6be31ce0e15604cbc6.tar.bz2
pfsense-packages-5759df034e190b268f4acc6be31ce0e15604cbc6.zip
Merge pull request #520 from ccesario/master
Fix the problem "SARG: Cannot set the locale LC_ALL to the environment v...
Diffstat (limited to 'config')
-rw-r--r--config/sarg/sarg.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/sarg/sarg.inc b/config/sarg/sarg.inc
index 97abc138..499c1973 100644
--- a/config/sarg/sarg.inc
+++ b/config/sarg/sarg.inc
@@ -142,7 +142,7 @@ EOF;
}
#create a new file to speedup find search
file_put_contents("/root/sarg_run_{$id}.sh",$gzip_script,LOCK_EX);
- mwexec($cmd. " ".$args);
+ mwexec("export LC_ALL=C && " .$cmd. " ".$args);
#check if there is a script to run after file save
if (is_array($config['installedpackages']['sarg']))
switch ($config['installedpackages']['sarg']['config'][0]['proxy_server']){