|
@@ -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
|