Browse Source

Double brackets

Bob Mottram 8 years ago
parent
commit
cbdd428a82
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/freedombone-utils-onion

+ 1
- 1
src/freedombone-utils-onion View File

84
             fi
84
             fi
85
         fi
85
         fi
86
     fi
86
     fi
87
-    if [ $(onion_service_exists ${onion_service_name}) == "1" ]; then
87
+    if [[ $(onion_service_exists ${onion_service_name}) == "1" ]]; then
88
         shred -zu /var/lib/tor/hidden_service_${onion_service_name}/*
88
         shred -zu /var/lib/tor/hidden_service_${onion_service_name}/*
89
         rm -rf /var/lib/tor/hidden_service_${onion_service_name}
89
         rm -rf /var/lib/tor/hidden_service_${onion_service_name}
90
     fi
90
     fi