Commit 23ba7020 authored by Tails developers's avatar Tails developers

Robustness improvements: add more quoting and set -e.

parent 7efb0b5e
#!/bin/sh
# Do not "set -u", else importing gettext.sh dies
# with "ZSH_VERSION: parameter not set".
set -e
. gettext.sh
TEXTDOMAIN="tails"
export TEXTDOMAIN
......@@ -22,6 +26,6 @@ ask_for_confirmation() {
--cancel-label "$dialog_start" --ok-label "$dialog_cancel"
}
if [ $(tor_bootstrap_progress) -eq 100 ] || ask_for_confirmation; then
if [ "$(tor_bootstrap_progress)" -eq 100 ] || ask_for_confirmation; then
/usr/bin/iceweasel "$@"
fi
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