[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [chutney/master] Remove trailing spaces



commit ac238871481916c3d3378ba0435192fcd4ca813a
Author: cypherpunks <cypherpunks@xxxxxxxxxxxxxx>
Date:   Fri Jan 29 15:55:44 2016 +0100

    Remove trailing spaces
---
 tools/hsaddress.sh |  4 ++--
 tools/warnings.sh  | 10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/tools/hsaddress.sh b/tools/hsaddress.sh
index 5810114..b89fc6d 100755
--- a/tools/hsaddress.sh
+++ b/tools/hsaddress.sh
@@ -1,6 +1,6 @@
 #!/bin/bash
 #
-# Usage: 
+# Usage:
 #    cd YOUR-CHUTNEY-DIRECTORY
 #    tools/hsaddress.sh [hs_node]
 # Output: for each HS outputs its onion address. If the argument node is
@@ -14,7 +14,7 @@ TARGET=hidden_service/hostname
 
 function usage() {
     echo "Usage: $NAME [hs_node]"
-    exit 1 
+    exit 1
 }
 
 function show_address() {
diff --git a/tools/warnings.sh b/tools/warnings.sh
index fc34419..41c9a86 100755
--- a/tools/warnings.sh
+++ b/tools/warnings.sh
@@ -6,7 +6,7 @@
 # Output: for each node outputs its warnings and the number of times that
 # warning has ocurred. If the argument node is specified, it only shows
 # the warnings of that node.
-# Examples: tools/warnings.sh 
+# Examples: tools/warnings.sh
 #           tools/warnings.sh 000a
 
 function show_warnings() {
@@ -29,15 +29,15 @@ NAME=$(basename "$0")
 DEST=net/nodes
 
 [ -d net/nodes ] || { echo "$NAME: no logs available"; exit 1; }
-if [ $# -eq 0 ]; 
-then    
+if [ $# -eq 0 ];
+then
     for dir in $DEST/*;
     do
         [ -e ${dir}/info.log ] || continue
-        show_warnings $dir 
+        show_warnings $dir
     done
 elif [ $# -eq 1 ];
-then 
+then
     [ -e $DEST/$1/info.log ] || { echo "$NAME: no log available"; exit 1; }
     show_warnings $DEST/$1
 else

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits