typo in elseif

This commit is contained in:
Douglas S.D. Hall 2015-04-21 20:00:01 +01:00
commit 295cd8207f

View file

@ -30,7 +30,7 @@ if ! gpg-connect-agent --quiet /bye > /dev/null 2> /dev/null; then
if ssh-add -l > /dev/null 2> /dev/null; then
# ssh-agent running, start gpg-agent without ssh support
start_agent_nossh;
else if [][ "$OSTYPE" = "darwin"* ]; then
elif [[ "$OSTYPE" = "darwin"* ]]; then
start_agent_nossh
else
# otherwise start gpg-agent with ssh support