[tor-commits] [torbrowser/maint-2.2] [Linux] Correct bugs in RelativeLink.sh debug output (spotted by velope)

erinn at torproject.org erinn at torproject.org
Sun Aug 28 18:19:35 UTC 2011


commit f9638b4f6b97cb354222ef3d8f0469c6400ca8df
Author: Robert Ransom <rransom.8774 at gmail.com>
Date:   Fri Aug 26 04:45:03 2011 -0400

    [Linux] Correct bugs in RelativeLink.sh debug output (spotted by velope)
    (cherry picked from commit 792b995928b7e107abb50c1dcd8659869f40ee93)
---
 src/RelativeLink/RelativeLink.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/RelativeLink/RelativeLink.sh b/src/RelativeLink/RelativeLink.sh
index 2c95fa3..04d91fa 100755
--- a/src/RelativeLink/RelativeLink.sh
+++ b/src/RelativeLink/RelativeLink.sh
@@ -205,7 +205,7 @@ if [ "${debug}" ]; then
 			BOUND="`netstat -tan 2>&1|grep 127.0.0.1":${port}[^:]"|grep -v TIME_WAIT`"
 			if [ "${BOUND}" ]; then
 			printf "\nLikely problem detected: It appears that you have something listening on ${port}\n"
-			printf "\nWe think this because of the following: ${BOUND}\n"
+			printf "\nWe think this because of the following:\n${BOUND}\n"
 			fi
 		done
 
@@ -227,5 +227,5 @@ if [ "$exitcode" -ne 0 ]; then
 	complain "Vidalia exited abnormally.  Exit code: $exitcode"
 	exit "$exitcode"
 else
-	echo '\nVidalia exited cleanly.\n'
+	printf '\nVidalia exited cleanly.\n'
 fi





More information about the tor-commits mailing list