[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 Oct 23 23:18:56 UTC 2011


commit 792b995928b7e107abb50c1dcd8659869f40ee93
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)
---
 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