Commit 0ae6da41 authored by Tails developers's avatar Tails developers
Browse files

Improve variable name and add quoting.

parent 278cd2d8
...@@ -78,7 +78,7 @@ COW=${CONF_DIR}/cow ...@@ -78,7 +78,7 @@ COW=${CONF_DIR}/cow
CHROOT=${CONF_DIR}/chroot CHROOT=${CONF_DIR}/chroot
BROWSER_NAME=unsafe-browser BROWSER_NAME=unsafe-browser
BROWSER_USER=clearnet BROWSER_USER=clearnet
NM_ENV=/var/lib/NetworkManager/env NM_ENV_FILE=/var/lib/NetworkManager/env
BEST_LOCALE="$(guess_best_tor_browser_locale)" BEST_LOCALE="$(guess_best_tor_browser_locale)"
WARNING_PAGE='/usr/share/doc/tails/website/misc/unsafe_browser_warning' WARNING_PAGE='/usr/share/doc/tails/website/misc/unsafe_browser_warning'
...@@ -96,8 +96,8 @@ if ! flock -x -n 9; then ...@@ -96,8 +96,8 @@ if ! flock -x -n 9; then
fi fi
# Get the DNS servers that was obtained from NetworkManager, if any... # Get the DNS servers that was obtained from NetworkManager, if any...
if [ -r "${NM_ENV}" ]; then if [ -r "${NM_ENV_FILE}" ]; then
. ${NM_ENV} . "${NM_ENV_FILE}"
fi fi
# ... otherwise fail. # ... otherwise fail.
# FIXME: Or would it make sense to fallback to Google's DNS or OpenDNS? # FIXME: Or would it make sense to fallback to Google's DNS or OpenDNS?
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment