Bob Mottram 8 anni fa
parent
commit
cbdd428a82
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      src/freedombone-utils-onion

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

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