summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/test_torbrowser-launcher.sh12
1 files changed, 8 insertions, 4 deletions
diff --git a/bin/test_torbrowser-launcher.sh b/bin/test_torbrowser-launcher.sh
index c3d2a4e0..4245e4e5 100755
--- a/bin/test_torbrowser-launcher.sh
+++ b/bin/test_torbrowser-launcher.sh
@@ -281,10 +281,12 @@ download_and_launch() {
echo "$(date -u) - $URL loaded fine, very much an archive in there, great."
BONUS_LEVEL_1="yes"
break
- else
- echo "$(date -u) - URL_LOADED = '$URL_LOADED'"
fi
done
+ # for debugging
+ if [ $URL_LOADED -lt 4 ] ; then
+ echo "$(date -u) - URL_LOADED = '$URL_LOADED'"
+ fi
BONUS_LEVEL_2=""
URL="https://www.debian.org"
echo "$(date -u) - pressing <ctrl>-l - about to enter $URL as URL."
@@ -303,10 +305,12 @@ download_and_launch() {
echo "$(date -u) - $URL loaded fine, very much Debian in there, great."
BONUS_LEVEL_2="yes"
break
- else
- echo "$(date -u) - URL_LOADED = '$URL_LOADED'"
fi
done
+ # for debugging
+ if [ $URL_LOADED -lt 6 ] ; then
+ echo "$(date -u) - URL_LOADED = '$URL_LOADED'"
+ fi
if [ -n "$BONUS_LEVEL_1" ] && [ -n "$BONUS_LEVEL_2" ] ; then
STATUS_MSG="Very well done."
STATUS_COLORS="-bg green -fg black"