]> gitweb.fluxo.info Git - keyringer.git/commitdiff
Coding style
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 20 Nov 2010 18:49:24 +0000 (16:49 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 20 Nov 2010 18:49:24 +0000 (16:49 -0200)
lib/keyringer/functions

index 6395f2d514813775291ce597a99eeacfb74a52b4..3f627bda14491d37c0ebace20cfc2c0982e40a92 100644 (file)
@@ -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