Browse code

Enforce cwd to prevent undesired proot warnings.

Xavier G authored on 26/02/2016 14:55:09
Showing 1 changed files

... ...
@@ -79,6 +79,7 @@ if [ -x "$(which proot)" ]; then
79 79
 		-b "${upload_dir}:${HOME}/Uploads" \
80 80
 		-b "${tmp_dir}:/tmp" \
81 81
 		-b "/dev/null:/sys" \
82
+		--cwd="${HOME}" \
82 83
 		"${browser_path}" "$@"
83 84
 else
84 85
 	echo "proot is missing; the browser will NOT be launched"