diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-11-20 16:49:24 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-11-20 16:49:24 -0200 |
commit | 43ea02433f00575e01c5f0938e6bd0e31412bb2c (patch) | |
tree | e28ddcb35d30f5b6afc827b9d516960bd6b17cd9 | |
parent | 60e0c97b13de9fe60b1874f2ef1fc8eda4ba8840 (diff) | |
download | keyringer-43ea02433f00575e01c5f0938e6bd0e31412bb2c.tar.gz keyringer-43ea02433f00575e01c5f0938e6bd0e31412bb2c.tar.bz2 |
Coding style
-rw-r--r-- | lib/keyringer/functions | 16 |
1 files changed, 8 insertions, 8 deletions
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 |