[pve-devel] [PATCH container 1/2] add keeplocale parameter to vncproxy run_command

Dominik Csapak d.csapak at proxmox.com
Tue Feb 28 12:06:36 CET 2017


to not overwrite the LC_* environment variables

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 src/PVE/API2/LXC.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/PVE/API2/LXC.pm b/src/PVE/API2/LXC.pm
index 3e02298..47dcb08 100644
--- a/src/PVE/API2/LXC.pm
+++ b/src/PVE/API2/LXC.pm
@@ -714,7 +714,7 @@ __PACKAGE__->register_method ({
 
 	    push @$cmd, '-c', @$remcmd, @$shcmd;
 
-	    run_command($cmd);
+	    run_command($cmd, keeplocale => 1);
 
 	    return;
 	};
-- 
2.1.4





More information about the pve-devel mailing list