Double brackets
This commit is contained in:
parent
285fdcd181
commit
cbdd428a82
|
@ -84,7 +84,7 @@ function remove_onion_service {
|
||||||
fi
|
fi
|
||||||
fi
|
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}/*
|
shred -zu /var/lib/tor/hidden_service_${onion_service_name}/*
|
||||||
rm -rf /var/lib/tor/hidden_service_${onion_service_name}
|
rm -rf /var/lib/tor/hidden_service_${onion_service_name}
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue