mirror of
https://github.com/dnscrypt/dnscrypt-server-docker
synced 2024-11-22 23:51:59 +01:00
Improve if
condition syntax in shell script
This commit is contained in:
parent
96b9dc9b32
commit
3de5db51e9
@ -65,7 +65,7 @@ provider_info() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
is_initialized() {
|
is_initialized() {
|
||||||
if [ ! -f "${KEYS_DIR}/public.key" -a ! -f "${KEYS_DIR}/secret.key" -a ! -f "${KEYS_DIR}/provider_name" ]; then
|
if [ ! -f "${KEYS_DIR}/public.key" ] && [ ! -f "${KEYS_DIR}/secret.key" ] && [ ! -f "${KEYS_DIR}/provider_name" ]; then
|
||||||
echo no
|
echo no
|
||||||
else
|
else
|
||||||
echo yes
|
echo yes
|
||||||
|
Loading…
Reference in New Issue
Block a user