From 9e8721246ea7d6c973a6b65ffc6e444696512522 Mon Sep 17 00:00:00 2001 From: Sameer Naik Date: Sat, 23 Jan 2016 14:03:21 +0530 Subject: [PATCH] removed `LD_PRELOAD` env variable from launch command Fixes #6 --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index a15be03..f792eb7 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -99,7 +99,7 @@ grant_access_to_video_devices() { launch_browser() { cd /home/${BROWSER_BOX_USER} - exec sudo -u ${BROWSER_BOX_USER} -H LD_PRELOAD='/usr/$LIB/libstdc++.so.6' PULSE_SERVER=/run/pulse/native $@ ${extra_opts} + exec sudo -HEu ${BROWSER_BOX_USER} PULSE_SERVER=/run/pulse/native $@ ${extra_opts} } case "$1" in