Double brackets

This commit is contained in:
Bob Mottram 2016-12-04 21:55:57 +00:00
parent 285fdcd181
commit cbdd428a82
1 changed files with 1 additions and 1 deletions

View File

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