From: Silvio Rhatto Date: Sat, 20 Nov 2010 18:49:24 +0000 (-0200) Subject: Coding style X-Git-Tag: 0.2.1~101 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=43ea02433f00575e01c5f0938e6bd0e31412bb2c;p=keyringer.git Coding style --- diff --git a/lib/keyringer/functions b/lib/keyringer/functions index 6395f2d..3f627bd 100644 --- a/lib/keyringer/functions +++ b/lib/keyringer/functions @@ -189,14 +189,14 @@ function keyringer_set_env { fi if [ -z "$EDITOR" ]; then - if type sensible-editor > /dev/null 2>&1 ; then - EDITOR=sensible-editor - elif type editor > /dev/null 2>&1 ; then - EDITOR=editor - else - echo "You have to set EDITOR env variable" - exit 1 - fi + if type sensible-editor > /dev/null 2>&1 ; then + EDITOR=sensible-editor + elif type editor > /dev/null 2>&1 ; then + EDITOR=editor + else + echo "You have to set EDITOR env variable" + exit 1 + fi fi if [ ! -f "$OPTIONS" ]; then